summaryrefslogtreecommitdiff
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
commit5daba528a1c461fe05a0a56804ee69db519862a8 (patch)
tree40c9fdd100030788693932768a32d938c09bf68d
parent848c3254b97b740fa60aaee3c59a949206c705d8 (diff)
Fix a bug in bounding box computing
-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 1d073a387..8269c0a1c 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);