#i94947# broken hasProperty check (by MST)
This commit is contained in:
@@ -1102,9 +1102,15 @@ OUString XMLTextImportHelper::SetStyleAndAttrs(
|
|||||||
makeAny(nStartValue));
|
makeAny(nStartValue));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sListId.getLength()) {
|
// --> OD 2008-04-23 #refactorlists#
|
||||||
xPropSet->setPropertyValue( sPropNameListId, makeAny(sListId) );
|
if ( xPropSetInfo->hasPropertyByName( sPropNameListId ) )
|
||||||
|
{
|
||||||
|
if (sListId.getLength()) {
|
||||||
|
xPropSet->setPropertyValue( sPropNameListId,
|
||||||
|
makeAny(sListId) );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
// <--
|
||||||
|
|
||||||
GetTextListHelper().SetListItem( (XMLTextListItemContext *)0 );
|
GetTextListHelper().SetListItem( (XMLTextListItemContext *)0 );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user