summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/export/drawingml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 3f141e584c32..ae9f1b302236 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -617,7 +617,7 @@ void DrawingML::WriteTransformation( const Rectangle& rRect,
mpFS->startElementNS( nXmlNamespace, XML_xfrm,
XML_flipH, bFlipH ? "1" : NULL,
XML_flipV, bFlipV ? "1" : NULL,
- XML_rot, nRotation ? I32S( nRotation ) : NULL,
+ XML_rot, (nRotation % 21600000) ? I32S( nRotation ) : NULL,
FSEND );
mpFS->singleElementNS( XML_a, XML_off, XML_x, IS( MM100toEMU( rRect.Left() ) ), XML_y, IS( MM100toEMU( rRect.Top() ) ), FSEND );