diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-13 20:20:42 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-16 09:10:19 +0200 |
commit | a00c47afd4cf379ce2b22f3c33bb7975a5a6366a (patch) | |
tree | 028c850a7c4bfc585516d2e097dca52cd73cc31e /vcl/source | |
parent | 800b0241c213b42dada56ca41a6f9e02eb541a23 (diff) |
sal_uInt16 to sal_Int32
Change-Id: Ia693dcbcfaa0349ef13466bb2eed877c5823f5bb
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/edit/texteng.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 ]; |