summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-09 21:47:17 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-09 21:47:31 +0100
commit6dddefc6e7ff6dc5cde46dde069ba1d7db4ac34b (patch)
tree7dafa2c2f9ac052a8b371f70c267c5c847dd2c5a /basegfx/source/polygon
parentd9a3752143027bbf0d9383074fd378631309a3b0 (diff)
fdo#43460: use isEmpty()
Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
Diffstat (limited to 'basegfx/source/polygon')
-rw-r--r--basegfx/source/polygon/b2dsvgpolypolygon.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
index 553f02ceffd9..ffb04913076e 100644
--- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx
+++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
@@ -109,7 +109,7 @@ namespace basegfx
}
}
- if(sNumberString.getLength())
+ if(!sNumberString.isEmpty())
{
rtl_math_ConversionStatus eStatus;
o_fRetval = ::rtl::math::stringToDouble( sNumberString.makeStringAndClear(),