diff options
-rw-r--r-- | svgio/source/svgreader/svgnode.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svgio/source/svgreader/svgnode.cxx b/svgio/source/svgreader/svgnode.cxx index edd287b18a67..723ddbf490f3 100644 --- a/svgio/source/svgreader/svgnode.cxx +++ b/svgio/source/svgreader/svgnode.cxx @@ -359,7 +359,7 @@ namespace svgio Display getDisplayFromContent(const OUString& aContent) { - if(aContent.getLength()) + if(!aContent.isEmpty()) { if(aContent.startsWith("inline")) { @@ -476,7 +476,7 @@ namespace svgio } case SVGTokenDisplay: { - if(aContent.getLength()) + if(!aContent.isEmpty()) { setDisplay(getDisplayFromContent(aContent)); } |