diff options
Diffstat (limited to 'xmloff/source/text')
-rw-r--r-- | xmloff/source/text/XMLTextFrameContext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index 45d34f8fffae..5e112a860c3d 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -1026,7 +1026,7 @@ XMLTextFrameContext_Impl::XMLTextFrameContext_Impl( // with XMLTextParagraphExport::_exportTextGraphic normally it would need // to me mirrored using * -1.0, see conversion there) const double fRotate(aDecomposedTransform.getRotate() * (1800.0/M_PI)); - nRotation = static_cast< sal_Int16 >(fRotate) % 3600; + nRotation = static_cast< sal_Int16 >(basegfx::fround(fRotate) % 3600); } } } |