diff options
Diffstat (limited to 'xmloff/source/style/impastp4.cxx')
-rw-r--r-- | xmloff/source/style/impastp4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/impastp4.cxx b/xmloff/source/style/impastp4.cxx index bb86944db279..884bf0f09075 100644 --- a/xmloff/source/style/impastp4.cxx +++ b/xmloff/source/style/impastp4.cxx @@ -390,7 +390,7 @@ void SvXMLAutoStylePoolP_Impl::exportXML( XML_NAMESPACE_STYLE, XML_FAMILY, aStrFamilyName ); } - if( aExpStyles[i].mpParent->getLength() ) + if( !aExpStyles[i].mpParent->isEmpty() ) { GetExport().AddAttribute( XML_NAMESPACE_STYLE, XML_PARENT_STYLE_NAME, |