diff options
Diffstat (limited to 'xmloff/source/text/XMLLineNumberingExport.cxx')
-rw-r--r-- | xmloff/source/text/XMLLineNumberingExport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLLineNumberingExport.cxx b/xmloff/source/text/XMLLineNumberingExport.cxx index 41eb51523f1b..c60178caaab2 100644 --- a/xmloff/source/text/XMLLineNumberingExport.cxx +++ b/xmloff/source/text/XMLLineNumberingExport.cxx @@ -142,7 +142,7 @@ void XMLLineNumberingExport::Export() rExport.AddAttribute(XML_NAMESPACE_STYLE, XML_NUM_FORMAT, sNumPosBuf.makeStringAndClear()); rExport.GetMM100UnitConverter().convertNumLetterSync( sNumPosBuf, nFormat ); - if( sNumPosBuf.getLength() ) + if( !sNumPosBuf.isEmpty() ) { rExport.AddAttribute(XML_NAMESPACE_STYLE, XML_NUM_LETTER_SYNC, |