From a00c47afd4cf379ce2b22f3c33bb7975a5a6366a Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Thu, 13 Aug 2015 20:20:42 +0200 Subject: sal_uInt16 to sal_Int32 Change-Id: Ia693dcbcfaa0349ef13466bb2eed877c5823f5bb --- vcl/source/edit/texteng.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/source') diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx index bedcb58d4356..f964d16cd7bd 100644 --- a/vcl/source/edit/texteng.cxx +++ b/vcl/source/edit/texteng.cxx @@ -1067,7 +1067,7 @@ TextPaM TextEngine::GetPaM( const Point& rDocPos, bool bSmart ) return TextPaM( nLastNode, pLast->GetText().getLength() ); } -sal_uInt16 TextEngine::ImpFindIndex( sal_uLong nPortion, const Point& rPosInPara, bool bSmart ) +sal_Int32 TextEngine::ImpFindIndex( sal_uLong nPortion, const Point& rPosInPara, bool bSmart ) { DBG_ASSERT( IsFormatted(), "GetPaM: Not formatted" ); TEParaPortion* pPortion = mpTEParaPortions->GetObject( nPortion ); @@ -1252,7 +1252,7 @@ sal_uInt16 TextEngine::GetLineCount( sal_uLong nParagraph ) const return 0; } -sal_uInt16 TextEngine::GetLineLen( sal_uLong nParagraph, sal_uInt16 nLine ) const +sal_Int32 TextEngine::GetLineLen( sal_uLong nParagraph, sal_uInt16 nLine ) const { DBG_ASSERT( nParagraph < mpTEParaPortions->Count(), "GetLineCount: Out of range" ); @@ -1364,7 +1364,7 @@ void TextEngine::InsertContent( TextNode* pNode, sal_uLong nPara ) ImpParagraphInserted( nPara ); } -TextPaM TextEngine::SplitContent( sal_uLong nNode, sal_uInt16 nSepPos ) +TextPaM TextEngine::SplitContent( sal_uLong nNode, sal_Int32 nSepPos ) { #ifdef DBG_UTIL TextNode* pNode = mpDoc->GetNodes()[ nNode ]; -- cgit