summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgnode.cxx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2014-10-03 21:47:56 +0200
committerChristina Roßmanith <ChrRossmanith@web.de>2014-10-05 19:57:35 +0000
commit48381e5c2e0a6dc0ad7c3827d988e1010e3f301a (patch)
tree625f990960bae9efe5c89706db536441f8be89ee /svgio/source/svgreader/svgnode.cxx
parent605dc6596a282297cac8e85aa2bbb59477cc27fd (diff)
use isEmpty() instead of getLength() where appropriate
Change-Id: I87bb3473af631dc321c5a8c2b06b0b5ccdf8e73b Reviewed-on: https://gerrit.libreoffice.org/11813 Reviewed-by: Christina Roßmanith <ChrRossmanith@web.de> Tested-by: Christina Roßmanith <ChrRossmanith@web.de>
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 b68d083532a9..3e85aedbe75d 100644
--- a/svgio/source/svgreader/svgnode.cxx
+++ b/svgio/source/svgreader/svgnode.cxx
@@ -135,7 +135,7 @@ namespace svgio
}
// check for class-dependent references to CssStyles
- if(rClassStr.getLength())
+ if(!rClassStr.isEmpty())
{
OUString aNewConcatenated(aConcatenated);
@@ -213,7 +213,7 @@ namespace svgio
{
// #i125293# rOriginal will be the last element in the linked list; use no CssStyleParent
// there (reset it) to ensure that the parent hierarchy will be used when it's base
- // is referenced. This new chaning inserts the CssStyles before the original style,
+ // is referenced. This new chaining inserts the CssStyles before the original style,
// this makes the whole process much safer since the original style when used will
// be not different to the situation without CssStyles; thus loops which may be caused
// by trying to use the parent hierarchy of the owner of the style will be avoided