diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-06-18 19:53:19 +0200 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-06-19 10:10:39 +0000 |
commit | ad09b2f7efac628ac4261b86f9fd085f83ebe717 (patch) | |
tree | 788329ea0baed2a1a1bf8b21bb56122aa1f292b1 /xmloff/source/text/XMLSectionFootnoteConfigExport.cxx | |
parent | 2e963d0510aacf2d5e59a7604c106bae7a928921 (diff) |
fdo#43460 xmloff: use isEmpty()
Change-Id: I298767cc0ec03c22d3ae687939f0f9d5ce1963c1
Reviewed-on: https://gerrit.libreoffice.org/4348
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'xmloff/source/text/XMLSectionFootnoteConfigExport.cxx')
-rw-r--r-- | xmloff/source/text/XMLSectionFootnoteConfigExport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx index 05e3ab7f436e..847167dea07f 100644 --- a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx +++ b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx @@ -170,7 +170,7 @@ void XMLSectionFootnoteConfigExport::exportXML( // and letter sync, if applicable rExport.GetMM100UnitConverter().convertNumLetterSync( sBuf, nNumberingType ); - if (sBuf.getLength()) + if (!sBuf.isEmpty()) { rExport.AddAttribute(XML_NAMESPACE_STYLE, XML_NUM_LETTER_SYNC, |