summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-11-22 09:08:46 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-11-22 11:25:38 +0100
commitde4cb026b5fe3ecd1c9557817565cff4ca4e8408 (patch)
tree90072778d17ffc45e394760dc765f5e8d79bffd6 /sc/source
parent003b2d0c36c62800257c688c65109bf2fc7d4f32 (diff)
Generalize DegreeN
This potentially allows to introduce other degree fractions easily, like Degree<sal_Int64, 60000>, with automatically defined conversion functions. Change-Id: Id1c32d9e029943844bdc833178c1f99387ff87fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125640 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/view/output2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index 31b0076bc0bc..7c8758bb75e1 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -5078,7 +5078,7 @@ void ScOutputData::DrawRotated(bool bPixelToLogic)
if ( nAttrRotate )
{
// attribute is 1/100, Font 1/10 degrees
- nOriVal = toDegree10(nAttrRotate);
+ nOriVal = to<Degree10>(nAttrRotate);
double nAddX = 0.0;
double nAddY = 0.0;