summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/textbreakuphelper.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-13 10:04:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-13 10:04:18 +0000
commitdeecab601a0512c2f621dc070b0ef5f3d6905370 (patch)
tree98c16be7d8bdc5289edafe40eff6803a5c2e33cb /drawinglayer/source/primitive2d/textbreakuphelper.cxx
parentc364fc1fc3555fc26dbcc04feaac2436cb8b6b7d (diff)
longparas: xub_StrLen->sal_Int32
Change-Id: I171caa791e1d2a0baa4444a460a7f20ad5428571
Diffstat (limited to 'drawinglayer/source/primitive2d/textbreakuphelper.cxx')
-rw-r--r--drawinglayer/source/primitive2d/textbreakuphelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/textbreakuphelper.cxx b/drawinglayer/source/primitive2d/textbreakuphelper.cxx
index 33554bd92624..a5aab77f806c 100644
--- a/drawinglayer/source/primitive2d/textbreakuphelper.cxx
+++ b/drawinglayer/source/primitive2d/textbreakuphelper.cxx
@@ -57,7 +57,7 @@ namespace drawinglayer
{
}
- void TextBreakupHelper::breakupPortion(Primitive2DVector& rTempResult, sal_uInt32 nIndex, sal_uInt32 nLength, bool bWordLineMode)
+ void TextBreakupHelper::breakupPortion(Primitive2DVector& rTempResult, sal_Int32 nIndex, sal_Int32 nLength, bool bWordLineMode)
{
if(nLength && !(nIndex == mrSource.getTextPosition() && nLength == mrSource.getTextLength()))
{
@@ -87,7 +87,7 @@ namespace drawinglayer
else
{
// get from DXArray
- const sal_uInt32 nIndex2(static_cast< sal_uInt32 >(nIndex - mrSource.getTextPosition()));
+ const sal_Int32 nIndex2(nIndex - mrSource.getTextPosition());
fOffset = mrSource.getDXArray()[nIndex2 - 1];
}