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/txtftne.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/txtftne.cxx')
-rw-r--r-- | xmloff/source/text/txtftne.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtftne.cxx b/xmloff/source/text/txtftne.cxx index 237c16033f7f..867397f66bcf 100644 --- a/xmloff/source/text/txtftne.cxx +++ b/xmloff/source/text/txtftne.cxx @@ -296,7 +296,7 @@ void XMLTextParagraphExport::exportTextFootnoteConfigurationHelper( GetExport().AddAttribute(XML_NAMESPACE_STYLE, XML_NUM_FORMAT, sBuffer.makeStringAndClear() ); GetExport().GetMM100UnitConverter().convertNumLetterSync( sBuffer, nNumbering); - if (sBuffer.getLength() ) + if (!sBuffer.isEmpty() ) { GetExport().AddAttribute(XML_NAMESPACE_STYLE, XML_NUM_LETTER_SYNC, sBuffer.makeStringAndClear()); |