summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r--starmath/source/view.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index e3f567b73f34..f1365b4470e1 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -1060,7 +1060,7 @@ Size SmViewShell::GetTextLineSize(OutputDevice& rDevice, const String& rLine)
if (nTabs > 0)
{
- long TabPos = rDevice.GetTextWidth('n') * 8;
+ long TabPos = rDevice.GetTextWidth(rtl::OUString('n')) * 8;
aSize.Width() = 0;
@@ -1152,7 +1152,7 @@ void SmViewShell::DrawTextLine(OutputDevice& rDevice, const Point& rPosition, co
if (nTabs > 0)
{
- long TabPos = rDevice.GetTextWidth('n') * 8;
+ long TabPos = rDevice.GetTextWidth(rtl::OUString('n')) * 8;
for (sal_uInt16 i = 0; i < nTabs; i++)
{