summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2010-11-26 17:42:01 +0100
committerRene Engelhard <rene@debian.org>2010-11-26 17:42:01 +0100
commit5529d7947ce3ceabf072dc2fd4178afba356a590 (patch)
treeaccc3bd501551643263de50460e9f78bde9f24c3 /basegfx/source/polygon
parentafd5ff21ce4e5859a92eef96157e3779c5b30853 (diff)
parentbaa3cdb1a532bb79ec3fbfbc23cbb4ee4b566308 (diff)
Merge commit 'ooo/OOO330_m17' into libreoffice-3-3
Diffstat (limited to 'basegfx/source/polygon')
-rw-r--r--basegfx/source/polygon/b2dtrapezoid.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/polygon/b2dtrapezoid.cxx b/basegfx/source/polygon/b2dtrapezoid.cxx
index 261f045b4a7f..f095a6658119 100644
--- a/basegfx/source/polygon/b2dtrapezoid.cxx
+++ b/basegfx/source/polygon/b2dtrapezoid.cxx
@@ -799,6 +799,7 @@ namespace basegfx
if(splitEdgeAtGivenPoint(aLeft, *pNewLeft, aCurrent))
{
maNewPoints.push_back(pNewLeft);
+ bDone = true;
}
else
{
@@ -810,13 +811,12 @@ namespace basegfx
if(splitEdgeAtGivenPoint(aRight, *pNewRight, aCurrent))
{
maNewPoints.push_back(pNewRight);
+ bDone = true;
}
else
{
delete pNewRight;
}
-
- bDone = true;
}
}