Commits

Anonymous committed 9e4db6c

#i94947# broken hasProperty check (by MST)

Comments (0)

Files changed (1)

xmloff/source/text/txtimp.cxx

                                            makeAny(nStartValue));
             }
 
-            if (sListId.getLength()) {
-                xPropSet->setPropertyValue( sPropNameListId, makeAny(sListId) );
+            // --> OD 2008-04-23 #refactorlists#
+            if ( xPropSetInfo->hasPropertyByName( sPropNameListId ) )
+            {
+                if (sListId.getLength()) {
+                    xPropSet->setPropertyValue( sPropNameListId,
+                        makeAny(sListId) );
+                }
             }
+            // <--
 
 			GetTextListHelper().SetListItem( (XMLTextListItemContext *)0 );
 		}