summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorPascal Junck <pjunck@openoffice.org>2004-11-03 10:16:04 +0000
committerPascal Junck <pjunck@openoffice.org>2004-11-03 10:16:04 +0000
commit804f0628ca659cf30694585de5a0be0339ab3c1a (patch)
tree5dc98e5fe9c4fea9b939ac94d476f38db7f99916 /vcl
parentdcbf01a0178a2f4545fb40f634746d88ee33505f (diff)
INTEGRATION: CWS aw019 (1.60.44); FILE MERGED
2004/10/21 16:00:33 aw 1.60.44.1: #i34831#
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/source/gdi/salgdi3.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx
index cfac5b0f8290..c9b16b37673a 100644
--- a/vcl/win/source/gdi/salgdi3.cxx
+++ b/vcl/win/source/gdi/salgdi3.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: salgdi3.cxx,v $
*
- * $Revision: 1.60 $
+ * $Revision: 1.61 $
*
- * last change: $Author: hr $ $Date: 2004-09-08 16:22:26 $
+ * last change: $Author: pjunck $ $Date: 2004-11-03 11:16:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2112,6 +2112,12 @@ BOOL WinSalGraphics::GetGlyphOutline( long nIndex, PolyPolygon& rPolyPoly )
// end point is start point for closed contour
// disabled, because Polygon class closes the contour itself
// pPoints[nPnt++] = pPoints[0];
+ // #i35928#
+ // Added again, but add only when not yet closed
+ if(pPoints[nPnt - 1] != pPoints[0])
+ {
+ pPoints[nPnt++] = pPoints[0];
+ }
// convert y-coordinates W32 -> VCL
for( int i = 0; i < nPnt; ++i )