summaryrefslogtreecommitdiff
path: root/xmloff/source/style/prstylei.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/prstylei.cxx')
-rw-r--r--xmloff/source/style/prstylei.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx
index a8c5aa4ab85b..8ac833da93e7 100644
--- a/xmloff/source/style/prstylei.cxx
+++ b/xmloff/source/style/prstylei.cxx
@@ -448,7 +448,7 @@ void XMLPropStyleContext::Finish( bool bOverwrite )
if( !sParent.isEmpty() )
sParent = GetImport().GetStyleDisplayName( GetFamily(), sParent );
if( !sParent.isEmpty() && !xFamilies->hasByName( sParent ) )
- sParent = OUString();
+ sParent.clear();
if( sParent != mxStyle->getParentStyle() )
{