summaryrefslogtreecommitdiff
path: root/svx/source/xoutdev/_xpoly.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-08-19 22:31:24 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-08-19 22:31:24 +0000
commit2fef58dfd069d4a7c439633df65a2ea1d7043758 (patch)
treec96f88541bfb2d348b65a392987c0b01ba971a8f /svx/source/xoutdev/_xpoly.cxx
parenta1bb99ad4f154ca723145b3da1717df3603a636b (diff)
INTEGRATION: CWS aw033 (1.17.84); FILE MERGED
2008/07/10 13:00:59 aw 1.17.84.3: #i39532# XOutputDevice removed, PrepareDelete removed 2008/05/14 14:02:50 aw 1.17.84.2: RESYNC: (1.17-1.18); FILE MERGED 2007/11/19 11:26:07 aw 1.17.84.1: #i39532# Lot of changes to make polygon stuff bezier-able
Diffstat (limited to 'svx/source/xoutdev/_xpoly.cxx')
-rw-r--r--svx/source/xoutdev/_xpoly.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/xoutdev/_xpoly.cxx b/svx/source/xoutdev/_xpoly.cxx
index 6f4c676e67cc..5aa4b205bc88 100644
--- a/svx/source/xoutdev/_xpoly.cxx
+++ b/svx/source/xoutdev/_xpoly.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: _xpoly.cxx,v $
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
* This file is part of OpenOffice.org.
*
@@ -35,7 +35,6 @@
#include <tools/debug.hxx>
#include <tools/poly.hxx>
-#include <svx/xoutx.hxx>
#include <svx/xpoly.hxx>
#include "xpolyimp.hxx"
#include <basegfx/polygon/b2dpolygon.hxx>
@@ -705,7 +704,7 @@ Rectangle XPolygon::GetBoundRect() const
// get a relatively correct BoundRect. Numerically, this is not
// correct and never was.
- const basegfx::B2DRange aPolygonRange(basegfx::tools::getRange(basegfx::tools::adaptiveSubdivideByAngle(getB2DPolygon())));
+ const basegfx::B2DRange aPolygonRange(basegfx::tools::getRange(getB2DPolygon()));
aRetval = Rectangle(
FRound(aPolygonRange.getMinX()), FRound(aPolygonRange.getMinY()),
FRound(aPolygonRange.getMaxX()), FRound(aPolygonRange.getMaxY()));