summaryrefslogtreecommitdiff
path: root/editeng/source/outliner/outlin2.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-02-02 22:16:48 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-02-03 07:44:28 +0000
commit3cbfcee36dd16e451d76c561eaaaee0ff29b01a5 (patch)
tree7377a9e1d8cd56279104429abce73aec334569d5 /editeng/source/outliner/outlin2.cxx
parent5c39b6b997ddc85e6848efc230a427a124b97264 (diff)
xub_StrLen and tools/string.hxx final straw
Thre is still some 0xffff limit left and possibly some less than gracefully handled overflow/error cases Change-Id: I00957ee3a30b02f73918ea49d7353056263dc638 Reviewed-on: https://gerrit.libreoffice.org/7787 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'editeng/source/outliner/outlin2.cxx')
-rw-r--r--editeng/source/outliner/outlin2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/outliner/outlin2.cxx b/editeng/source/outliner/outlin2.cxx
index c1a0b3c517cb..902df8d7ae25 100644
--- a/editeng/source/outliner/outlin2.cxx
+++ b/editeng/source/outliner/outlin2.cxx
@@ -169,7 +169,7 @@ OUString Outliner::GetWordDelimiters() const
return pEditEngine->GetWordDelimiters();
}
-OUString Outliner::GetWord( sal_Int32 nPara, sal_uInt16 nIndex )
+OUString Outliner::GetWord( sal_Int32 nPara, sal_Int32 nIndex )
{
return pEditEngine->GetWord( nPara, nIndex );
}
@@ -324,12 +324,12 @@ sal_uLong Outliner::GetLineCount( sal_Int32 nParagraph ) const
return pEditEngine->GetLineCount( nParagraph );
}
-sal_uInt16 Outliner::GetLineLen( sal_Int32 nParagraph, sal_uInt16 nLine ) const
+sal_Int32 Outliner::GetLineLen( sal_Int32 nParagraph, sal_Int32 nLine ) const
{
return pEditEngine->GetLineLen( nParagraph, nLine );
}
-sal_uLong Outliner::GetLineHeight( sal_Int32 nParagraph, sal_uInt16 nLine )
+sal_uLong Outliner::GetLineHeight( sal_Int32 nParagraph, sal_Int32 nLine )
{
return pEditEngine->GetLineHeight( nParagraph, nLine );
}
@@ -552,7 +552,7 @@ sal_uInt16 Outliner::GetScriptType( const ESelection& rSelection ) const
return pEditEngine->GetScriptType( rSelection );
}
-LanguageType Outliner::GetLanguage( sal_Int32 nPara, sal_uInt16 nPos ) const
+LanguageType Outliner::GetLanguage( sal_Int32 nPara, sal_Int32 nPos ) const
{
return pEditEngine->GetLanguage( nPara, nPos );
}