summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b2dpolygontools.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-06-06 22:40:37 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-06-06 22:41:07 +0200
commitc9e4cc279371a87495bfbc7c52f56686f9ab42c9 (patch)
tree4873a45c425c980404253267c981524ed00cbe7d /basegfx/source/polygon/b2dpolygontools.cxx
parent633178bffaf23ae322060e2c304c9c2cf12b46cc (diff)
Some cppcheck cleaning
Change-Id: I7a5f34715faecd689900b5d41eae9c782e99b47b
Diffstat (limited to 'basegfx/source/polygon/b2dpolygontools.cxx')
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index babc779e2144..baae69a3ab62 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -3066,10 +3066,10 @@ namespace basegfx
}
const bool bHasWidth(!fTools::equalZero(fWaveWidth));
- const bool bHasHeight(!fTools::equalZero(fWaveHeight));
if(bHasWidth)
{
+ const bool bHasHeight(!fTools::equalZero(fWaveHeight));
if(bHasHeight)
{
// width and height, create waveline. First subdivide to reduce input to line segments