diff options
Diffstat (limited to 'svgio/source/svgreader/svgcharacternode.cxx')
-rw-r--r-- | svgio/source/svgreader/svgcharacternode.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx index 0d2d575718f2..a30a89c41ea1 100644 --- a/svgio/source/svgreader/svgcharacternode.cxx +++ b/svgio/source/svgreader/svgcharacternode.cxx @@ -50,7 +50,7 @@ namespace svgio { case SVGTokenX: { - if(aContent.getLength()) + if(!aContent.isEmpty()) { SvgNumberVector aVector; @@ -63,7 +63,7 @@ namespace svgio } case SVGTokenY: { - if(aContent.getLength()) + if(!aContent.isEmpty()) { SvgNumberVector aVector; @@ -76,7 +76,7 @@ namespace svgio } case SVGTokenDx: { - if(aContent.getLength()) + if(!aContent.isEmpty()) { SvgNumberVector aVector; @@ -89,7 +89,7 @@ namespace svgio } case SVGTokenDy: { - if(aContent.getLength()) + if(!aContent.isEmpty()) { SvgNumberVector aVector; @@ -102,7 +102,7 @@ namespace svgio } case SVGTokenRotate: { - if(aContent.getLength()) + if(!aContent.isEmpty()) { SvgNumberVector aVector; @@ -128,7 +128,7 @@ namespace svgio } case SVGTokenLengthAdjust: { - if(aContent.getLength()) + if(!aContent.isEmpty()) { static OUString aStrSpacing(OUString::createFromAscii("spacing")); static OUString aStrSpacingAndGlyphs(OUString::createFromAscii("spacingAndGlyphs")); @@ -572,7 +572,7 @@ namespace svgio void SvgCharacterNode::decomposeText(drawinglayer::primitive2d::Primitive2DSequence& rTarget, SvgTextPosition& rSvgTextPosition) const { - if(getText().getLength()) + if(!getText().isEmpty()) { const SvgStyleAttributes* pSvgStyleAttributes = getSvgStyleAttributes(); |