summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgnode.cxx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2014-10-28 22:01:19 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2014-10-30 14:51:16 +0100
commit78a6fc8eda40c08eb3856c815fc402fa5ebbd995 (patch)
treed6ef127b27c9dd256f3796e4d9dcc9ed78dd97b6 /svgio/source/svgreader/svgnode.cxx
parentae98892269205632f52d220749e154ca3a87f18c (diff)
use isEmpty() instead of getLength() where appropriate
Change-Id: I2ac660a6035791e68af9bde9470bbf8c1d008dee
Diffstat (limited to 'svgio/source/svgreader/svgnode.cxx')
-rw-r--r--svgio/source/svgreader/svgnode.cxx4
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));
}