diff options
Diffstat (limited to 'xmloff/source/style/prstylei.cxx')
-rw-r--r-- | xmloff/source/style/prstylei.cxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx index 44229af18de7..f80f4e01f124 100644 --- a/xmloff/source/style/prstylei.cxx +++ b/xmloff/source/style/prstylei.cxx @@ -553,11 +553,9 @@ bool XMLPropStyleContext::doNewDrawingLayerFillStyleDefinitionsExist( } //UUUU -bool XMLPropStyleContext::deactivateOldFillStyleDefinitions( +void XMLPropStyleContext::deactivateOldFillStyleDefinitions( const OldFillStyleDefinitionSet& rHashSetOfTags) { - bool bRetval(false); - if(!rHashSetOfTags.empty() && maProperties.size()) { const rtl::Reference< XMLPropertySetMapper >& rMapper = GetStyles()->GetImportPropertyMapper(GetFamily())->getPropertySetMapper(); @@ -574,21 +572,16 @@ bool XMLPropStyleContext::deactivateOldFillStyleDefinitions( { // mark entry as inactive a->mnIndex = -1; - bRetval = true; } } } } } - - return bRetval; } //UUUU -bool XMLPropStyleContext::translateNameBasedDrawingLayerFillStyleDefinitionsToStyleDisplayNames() +void XMLPropStyleContext::translateNameBasedDrawingLayerFillStyleDefinitionsToStyleDisplayNames() { - bool bRetval(false); - if(maProperties.size()) { const rtl::Reference< XMLPropertySetMapper >& rMapper = GetStyles()->GetImportPropertyMapper(GetFamily())->getPropertySetMapper(); @@ -627,14 +620,11 @@ bool XMLPropStyleContext::translateNameBasedDrawingLayerFillStyleDefinitionsToSt a->maValue >>= sStyleName; sStyleName = GetImport().GetStyleDisplayName( aStyleFamily, sStyleName ); a->maValue <<= sStyleName; - bRetval = true; } } } } } - - return bRetval; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |