summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshap2.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-01-22 14:17:49 +0000
committerOliver Bolte <obo@openoffice.org>2007-01-22 14:17:49 +0000
commit0429bd0f06761bc129633474ca5b734549fc5c97 (patch)
tree493cd07b3f3476da065085c8422b54b5609a0740 /svx/source/unodraw/unoshap2.cxx
parent4c0f1226f5ae776d51aaf54bf9e4ac9eb6233da5 (diff)
INTEGRATION: CWS aw039 (1.59.42); FILE MERGED
2007/01/10 13:49:40 aw 1.59.42.1: #i72807# SvxConvertPolyPolygonBezierToB2DPolyPolygon reads old poly definitions where line start/end equal means closed, so it needs to use basegfx::tools::checkClosed() to correct the B2DPolygon and it's closed state
Diffstat (limited to 'svx/source/unodraw/unoshap2.cxx')
-rw-r--r--svx/source/unodraw/unoshap2.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index b0a712cac3..ebce9baf4b 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: unoshap2.cxx,v $
*
- * $Revision: 1.59 $
+ * $Revision: 1.60 $
*
- * last change: $Author: vg $ $Date: 2006-11-21 17:14:07 $
+ * last change: $Author: obo $ $Date: 2007-01-22 15:17:49 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1491,6 +1491,10 @@ basegfx::B2DPolyPolygon SvxConvertPolyPolygonBezierToB2DPolyPolygon( const drawi
pInnerSequence++;
pInnerSequenceFlags++;
+ // #i72807# API import uses old line start/end-equal definition for closed,
+ // so we need to correct this to closed state here
+ basegfx::tools::checkClosed(aNewPolygon);
+
// Neues Teilpolygon einfuegen
aNewPolyPolygon.append(aNewPolygon);
}