diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-12-30 09:30:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-01-01 07:33:08 +0100 |
commit | 303de624f43cea9d0ead26d535e643328aa1e45f (patch) | |
tree | cfefe9c87a3357fd83e3f748d2e64f8494c7cb9f /filter/source | |
parent | 5a94a20229a1bd82a39006012694cdc9f02ffa31 (diff) |
use more NbcRotate utility method
Change-Id: I74330033c1540c4ed8633dd176a88ed5cacb7c6b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108517
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source')
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index b94289983417..bed7bdcc283d 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -5428,8 +5428,7 @@ SdrObject* SvxMSDffManager::ProcessObj(SvStream& rSt, Point aPivot(rTextRect.TopLeft()); aPivot.AdjustX(nMinWH ); aPivot.AdjustY(nMinWH ); - double a = nTextRotationAngle * F_PI18000; - pTextObj->NbcRotate(aPivot, nTextRotationAngle, sin(a), cos(a)); + pTextObj->SdrAttrObj::NbcRotate(aPivot, nTextRotationAngle); } // rotate text with shape? |