summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-08-25 16:13:14 +0200
committerVladimir Glazunov <vg@openoffice.org>2010-08-25 16:13:14 +0200
commitaa80823112616efa9d7b5cb110d2cfedddc57676 (patch)
treebac75a9155c996b63b9f1cca411ba52e461573c2 /basegfx
parente121bc93cec360896d9e09d4a1c50cfc43261e42 (diff)
parentfffe7fed17cdbba6d3be3ee35b21a1456dc83159 (diff)
DEV300: changesets OOO330 up to m5
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dtrapezoid.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/basegfx/source/polygon/b2dtrapezoid.cxx b/basegfx/source/polygon/b2dtrapezoid.cxx
index 4cd63f938114..c1e0f7f6c7c1 100644
--- a/basegfx/source/polygon/b2dtrapezoid.cxx
+++ b/basegfx/source/polygon/b2dtrapezoid.cxx
@@ -1161,7 +1161,8 @@ namespace basegfx
if(aSource.areControlPointsUsed())
{
- aSource = aSource.getDefaultAdaptiveSubdivision();
+ const double fPrecisionFactor = 0.25;
+ aSource = adaptiveSubdivideByDistance( aSource, fLineWidth * fPrecisionFactor );
}
const sal_uInt32 nPointCount(aSource.count());