summaryrefslogtreecommitdiffstats
path: root/starmath/source/mathmlexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/mathmlexport.cxx')
-rw-r--r--starmath/source/mathmlexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 6f449d11e28b..d35e161300e3 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -201,7 +201,7 @@ sal_Bool SmXMLExportWrapper::Export(SfxMedium &rMedium)
aName = pDocHierarchItem->GetValue();
}
- if ( aName.getLength() )
+ if ( !aName.isEmpty() )
{
sPropName = OUString(RTL_CONSTASCII_USTRINGPARAM("StreamRelPath"));
xInfoSet->setPropertyValue( sPropName, makeAny( aName ) );