diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-11-22 12:22:45 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-11-22 15:20:24 +0100 |
commit | 7ead98eec843e68dcec6c4d5c97a577be7adec4c (patch) | |
tree | b3c49b30f59d2b37a8f257ff7cb9641c466f03c1 /oox | |
parent | 2eaf79131dab04acce1411fed1d8ac8ab5c51575 (diff) |
Use less DegreeN::get()
Change-Id: I97b8d6282c72307cc29a913af221d283523f2fae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125653
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/drawingml.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index dd112c9b6643..3371c04eac8e 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -1858,7 +1858,7 @@ void DrawingML::WriteShapeTransformation( const Reference< XShape >& rXShape, sa // OOXML flips shapes before rotating them. if(bFlipH != bFlipV) - nRotation = Degree100(nRotation.get() * -1 + 36000); + nRotation = 36000_deg100 - nRotation; WriteTransformation(rXShape, tools::Rectangle(Point(aPos.X, aPos.Y), Size(aSize.Width, aSize.Height)), nXmlNamespace, bFlipHWrite, bFlipVWrite, ExportRotateClockwisify(nRotation + nCameraRotation), IsGroupShape( rXShape )); |