summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-11-18 23:42:32 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-11-19 10:00:02 +0100
commit1cc6fca4927b9684b1f5acedee7b60c0c7518e25 (patch)
treed3ec824cbf0bd00b7a89f004509fbcea5dccf70c /xmloff
parent37429f2690a96491ad0e4fa2a04f2fa88a66da87 (diff)
Drop F_2PI
Change-Id: Ie98606607b2ce262e4eed76bb8cd86fbfe846f76 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125506 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtparae.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 322a5e2128e3..b3a26d955ee2 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -3087,7 +3087,7 @@ void XMLTextParagraphExport::_exportTextGraphic(
// add rotation itself
// tdf#115529 but correct value modulo 2PI to have it positive and in the range of [0.0 .. 2PI[
- aSdXMLImExTransform2D.AddRotate(basegfx::normalizeToRange(fRotate, F_2PI));
+ aSdXMLImExTransform2D.AddRotate(basegfx::normalizeToRange(fRotate, 2 * M_PI));
// back-transform after rotation
aSdXMLImExTransform2D.AddTranslate(aCenter);