summaryrefslogtreecommitdiff
path: root/drawinglayer/source/processor2d/vclprocessor2d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/processor2d/vclprocessor2d.cxx')
-rw-r--r--drawinglayer/source/processor2d/vclprocessor2d.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index 3eb8001e4234..16661498958d 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -274,7 +274,7 @@ namespace drawinglayer
mpOutputDevice->SetFont(aFont);
mpOutputDevice->SetTextColor(Color(aRGBFontColor));
- String aText( rTextCandidate.getText() );
+ OUString aText( rTextCandidate.getText() );
xub_StrLen nPos = rTextCandidate.getTextPosition();
xub_StrLen nLen = rTextCandidate.getTextLength();
@@ -295,7 +295,7 @@ namespace drawinglayer
nChars = nWidthToFill / nWidth;
OUStringBuffer aFilled;
- comphelper::string::padToLength(aFilled, (sal_uInt16)nChars, aText.GetChar(0));
+ comphelper::string::padToLength(aFilled, (sal_uInt16)nChars, aText[0]);
aText = aFilled.makeStringAndClear();
nPos = 0;
nLen = nChars;