summaryrefslogtreecommitdiff
path: root/drawinglayer/source/processor2d/vclprocessor2d.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-21 13:18:34 +0200
committerNoel Grandin <noel@peralex.com>2013-08-22 10:49:33 +0200
commit5527d5c4e064f417c4cd5f868e9fafffaa5aab41 (patch)
treeb9bea6678c5fff5e9244de84d82921d8ad2fe580 /drawinglayer/source/processor2d/vclprocessor2d.cxx
parent3728952b56e0690f09ed375e683ff09bc3fbff71 (diff)
convert drawinglayer module from String to OUString
Change-Id: I115dfd5ca7d343b220b2a3e8aa0565f9e4689042
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;