summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b2dtrapezoid.cxx
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-11-24 16:52:49 +0100
committerobo <obo@openoffice.org>2010-11-24 16:52:49 +0100
commitbaa3cdb1a532bb79ec3fbfbc23cbb4ee4b566308 (patch)
treed500edf7d3417f560ec13377d88c392d25e511be /basegfx/source/polygon/b2dtrapezoid.cxx
parent2ca22cab454eb1438a58f6015301db453f1cbe84 (diff)
#i115761# Impress freezes opening the attached odp file(s)
Notes
Notes: split repo tag: libs-gui_ooo/OOO330_m17
Diffstat (limited to 'basegfx/source/polygon/b2dtrapezoid.cxx')
-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 c1e0f7f6c7c1..d89ec7c6cf73 100644
--- a/basegfx/source/polygon/b2dtrapezoid.cxx
+++ b/basegfx/source/polygon/b2dtrapezoid.cxx
@@ -798,6 +798,7 @@ namespace basegfx
if(splitEdgeAtGivenPoint(aLeft, *pNewLeft, aCurrent))
{
maNewPoints.push_back(pNewLeft);
+ bDone = true;
}
else
{
@@ -809,13 +810,12 @@ namespace basegfx
if(splitEdgeAtGivenPoint(aRight, *pNewRight, aCurrent))
{
maNewPoints.push_back(pNewRight);
+ bDone = true;
}
else
{
delete pNewRight;
}
-
- bDone = true;
}
}