summaryrefslogtreecommitdiff
path: root/emfio
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-12-23 14:09:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-24 12:00:07 +0100
commit88c0e46e139fe44f7f2a6f9fbaa6b3fd7a827a8d (patch)
treef41e0a3e856a8dd9dba6bbac7d08e62518b53420 /emfio
parent17aea7c41c95186c03c173a8c6f26cd2ebce4c54 (diff)
custom literal for Degree10
Change-Id: Id13869138a622e62d9ffebf2c89bddccda6aff01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108238 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'emfio')
-rw-r--r--emfio/source/reader/mtftools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx
index 778adeb429ba..e1e80ec8bb04 100644
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -541,7 +541,7 @@ namespace emfio
sal_Int32 nResult;
const bool bFail = o3tl::checked_multiply(mnWinExtX, mnWinExtY, nResult);
if (!bFail && nResult < 0)
- rFont.SetOrientation( Degree10(3600) - rFont.GetOrientation() );
+ rFont.SetOrientation( 3600_deg10 - rFont.GetOrientation() );
}
tools::Polygon& MtfTools::ImplMap( tools::Polygon& rPolygon )