diff options
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/source/svgreader/svgtextpathnode.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/svgio/source/svgreader/svgtextpathnode.cxx b/svgio/source/svgreader/svgtextpathnode.cxx index 0608a71b8ee4..bb4c2ce85a3d 100644 --- a/svgio/source/svgreader/svgtextpathnode.cxx +++ b/svgio/source/svgreader/svgtextpathnode.cxx @@ -367,12 +367,7 @@ namespace svgio const double fBasegfxPathLength(basegfx::tools::getLength(aPolygon)); - if(basegfx::fTools::equalZero(fBasegfxPathLength)) - { - return false; - } - - return true; + return !basegfx::fTools::equalZero(fBasegfxPathLength); } void SvgTextPathNode::decomposePathNode( |