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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index f26240107f9f..b5b49047a064 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -229,7 +229,7 @@ void Ruler::ImplInit( WinBits nWinBits )
// Setup the default size
tools::Rectangle aRect;
- GetOutDev()->GetTextBoundRect( aRect, "0123456789" );
+ GetOutDev()->GetTextBoundRect( aRect, u"0123456789"_ustr );
tools::Long nDefHeight = aRect.GetHeight() + RULER_OFF * 2 + ruler_tab.textoff * 2 + mnBorderWidth;
Size aDefSize;