summaryrefslogtreecommitdiff
path: root/svtools/source/control/ruler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control/ruler.cxx')
-rw-r--r--svtools/source/control/ruler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 20d40364f0a3..09c442bee020 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -467,9 +467,9 @@ void Ruler::ImplDrawTicks(vcl::RenderContext& rRenderContext, tools::Long nMin,
{
vcl::Font aFont = rRenderContext.GetFont();
if (mnWinStyle & WB_RIGHT_ALIGNED)
- aFont.SetOrientation(2700);
+ aFont.SetOrientation(Degree10(2700));
else
- aFont.SetOrientation(900);
+ aFont.SetOrientation(Degree10(900));
rRenderContext.SetFont(aFont);
nTickWidth = aPixSize.Height();
}
@@ -1033,7 +1033,7 @@ void Ruler::ImplInitSettings(bool bFont, bool bForeground, bool bBackground)
vcl::Font aFont = GetFont();
if (mnWinStyle & WB_VERT)
- aFont.SetOrientation(900);
+ aFont.SetOrientation(Degree10(900));
maVirDev->SetFont(aFont);
maVirDev->SetTextColor(GetTextColor());