diff options
Diffstat (limited to 'filter/source/svg/svgfontexport.cxx')
-rw-r--r-- | filter/source/svg/svgfontexport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/svg/svgfontexport.cxx b/filter/source/svg/svgfontexport.cxx index 4b374c059afa..eef0e6f43832 100644 --- a/filter/source/svg/svgfontexport.cxx +++ b/filter/source/svg/svgfontexport.cxx @@ -140,7 +140,7 @@ void SVGFontExport::implCollectGlyphs() break; } - if( aText.getLength() ) + if( !aText.isEmpty() ) { GlyphSet& rGlyphSet = implGetGlyphSet( aVDev.GetFont() ); ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XBreakIterator > xBI( @@ -286,7 +286,7 @@ void SVGFontExport::implEmbedGlyph( OutputDevice& rOut, const ::rtl::OUString& r mrExport.AddAttribute( XML_NAMESPACE_NONE, "horiz-adv-x", ::rtl::OUString::valueOf( aBoundRect.GetWidth() ) ); const ::rtl::OUString aPathString( SVGActionWriter::GetPathString( aPolyPoly, sal_False ) ); - if( aPathString.getLength() ) + if( !aPathString.isEmpty() ) { mrExport.AddAttribute( XML_NAMESPACE_NONE, "d", aPathString ); } |