summaryrefslogtreecommitdiff
path: root/xmloff/source/style/fonthdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/fonthdl.cxx')
-rw-r--r--xmloff/source/style/fonthdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/fonthdl.cxx b/xmloff/source/style/fonthdl.cxx
index f65efea29b7c..0e1e8365f3c9 100644
--- a/xmloff/source/style/fonthdl.cxx
+++ b/xmloff/source/style/fonthdl.cxx
@@ -154,7 +154,7 @@ sal_Bool XMLFontFamilyNamePropHdl::exportXML( OUString& rStrExpValue, const uno:
if( nFirst <= nLast )
{
- if( sValue.getLength() != 0L )
+ if( !sValue.isEmpty() )
{
sValue.append( sal_Unicode( ',' ) );
sValue.append( sal_Unicode( ' ' ));