diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-13 10:04:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-13 10:04:18 +0000 |
commit | deecab601a0512c2f621dc070b0ef5f3d6905370 (patch) | |
tree | 98c16be7d8bdc5289edafe40eff6803a5c2e33cb /drawinglayer/source/processor2d | |
parent | c364fc1fc3555fc26dbcc04feaac2436cb8b6b7d (diff) |
longparas: xub_StrLen->sal_Int32
Change-Id: I171caa791e1d2a0baa4444a460a7f20ad5428571
Diffstat (limited to 'drawinglayer/source/processor2d')
-rw-r--r-- | drawinglayer/source/processor2d/vclprocessor2d.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx index 7f2ab70ffc6e..0063ad727085 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx @@ -263,8 +263,8 @@ namespace drawinglayer mpOutputDevice->SetTextColor(Color(aRGBFontColor)); OUString aText( rTextCandidate.getText() ); - xub_StrLen nPos = rTextCandidate.getTextPosition(); - xub_StrLen nLen = rTextCandidate.getTextLength(); + sal_Int32 nPos = rTextCandidate.getTextPosition(); + sal_Int32 nLen = rTextCandidate.getTextLength(); sal_Int32* pDXArray = aTransformedDXArray.size() ? &(aTransformedDXArray[0]) : NULL ; @@ -283,7 +283,7 @@ namespace drawinglayer nChars = nWidthToFill / nWidth; OUStringBuffer aFilled; - comphelper::string::padToLength(aFilled, (sal_uInt16)nChars, aText[0]); + comphelper::string::padToLength(aFilled, nChars, aText[0]); aText = aFilled.makeStringAndClear(); nPos = 0; nLen = nChars; |