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 /vcl/win | |
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 'vcl/win')
-rw-r--r-- | vcl/win/gdi/DWriteTextRenderer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/DWriteTextRenderer.cxx b/vcl/win/gdi/DWriteTextRenderer.cxx index 177f1e7c3384..edd0b700bdf6 100644 --- a/vcl/win/gdi/DWriteTextRenderer.cxx +++ b/vcl/win/gdi/DWriteTextRenderer.cxx @@ -414,7 +414,7 @@ WinFontTransformGuard::WinFontTransformGuard(ID2D1RenderTarget* pRenderTarget, f // degrees. aTransform = aTransform * D2D1::Matrix3x2F::Rotation( - -static_cast<FLOAT>(angle.get()) / 10, rBaseline); + -toDegrees(angle), rBaseline); } mpRenderTarget->SetTransform(aTransform); } |