summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2001-03-30 13:13:45 +0000
committerChristian Lippka <cl@openoffice.org>2001-03-30 13:13:45 +0000
commit78536b1609593c17d73e65f17050e17364a5337f (patch)
tree3f7fdc772a6744c3540f4675e7eeba28d0d3feef
parentcbca307d2cac31ef6c0d61bc5bb461f293fd2861 (diff)
#81839# close polygons
-rw-r--r--svtools/source/uno/unoimap.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx
index 3d5a48a6de2e..06c1b3184e9a 100644
--- a/svtools/source/uno/unoimap.cxx
+++ b/svtools/source/uno/unoimap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoimap.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: cl $ $Date: 2001-03-29 11:59:58 $
+ * last change: $Author: cl $ $Date: 2001-03-30 14:13:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -373,6 +373,7 @@ IMapObject* SvUnoImageMapObject::createIMapObject() const
aPoly.SetPoint( aPoint, nPoint );
}
+ aPoly.Optimize( POLY_OPTIMIZE_CLOSE );
pNewIMapObject = new IMapPolygonObject( aPoly, aURL, aDescription, aTarget, aName, mbIsActive, sal_False );
}
break;