summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-07-15 17:04:20 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-07-15 17:04:20 +0200
commitd5446cabf8f574d6a3754379e691ad5d7779cd8d (patch)
tree68180969d265546af88f755c3920ded26f425653 /writerperfect
parent4ada761d67849b35154b0eb65f5b0715cd2a2d97 (diff)
Fix a bug in bounding box computing
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/filter/OdgGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/filter/OdgGenerator.cxx b/writerperfect/source/filter/OdgGenerator.cxx
index 1d073a387e19..8269c0a1c9bd 100644
--- a/writerperfect/source/filter/OdgGenerator.cxx
+++ b/writerperfect/source/filter/OdgGenerator.cxx
@@ -792,7 +792,7 @@ void OdgGeneratorPrivate::_drawPath(const WPXPropertyListVector& path)
double xmin, xmax, ymin, ymax;
getEllipticalArcBBox(lastX, lastY, path[k]["svg:rx"]->getDouble(), path[k]["svg:ry"]->getDouble(),
- 2.0*M_PI*(path[k]["libwpg:rotate"] ? path[k]["libwpg:rotate"]->getDouble() : 0.0),
+ path[k]["libwpg:rotate"] ? path[k]["libwpg:rotate"]->getDouble() : 0.0,
path[k]["libwpg:large-arc"] ? path[k]["libwpg:large-arc"]->getInt() : 1,
path[k]["libwpg:sweep"] ? path[k]["libwpg:sweep"]->getInt() : 1,
path[k]["svg:x"]->getDouble(), path[k]["svg:y"]->getDouble(), xmin, ymin, xmax, ymax);