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/style/fonthdl.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/style/fonthdl.cxx')
-rw-r--r-- | xmloff/source/style/fonthdl.cxx | 2 |
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( ' ' )); |