summaryrefslogtreecommitdiff
path: root/sw/source/core/text/portxt.cxx
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-05-03 15:06:58 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-06-08 21:51:20 +0200
commit2136dc24a16c14138a0cf00b701cc468f4c76d2d (patch)
tree9f5b38185b682a4f8f3e51d78c44a6bee223fcd8 /sw/source/core/text/portxt.cxx
parent9a9f2bab54e9f124c19b525061fafb6d48e471a0 (diff)
sw_redlinehide: convert headers to TextFrameIndex
Only convert the interfaces now, convert the implementations later. Change-Id: I8a84f239d59a5fe21c62615d9ff8e2defa07badc
Diffstat (limited to 'sw/source/core/text/portxt.cxx')
-rw-r--r--sw/source/core/text/portxt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/text/portxt.cxx b/sw/source/core/text/portxt.cxx
index a1d6cd0fefab..971d5816bce7 100644
--- a/sw/source/core/text/portxt.cxx
+++ b/sw/source/core/text/portxt.cxx
@@ -497,7 +497,7 @@ void SwTextPortion::FormatEOL( SwTextFormatInfo &rInf )
}
-sal_Int32 SwTextPortion::GetCursorOfst( const sal_uInt16 nOfst ) const
+TextFrameIndex SwTextPortion::GetCursorOfst(const sal_uInt16 nOfst) const
{
OSL_ENSURE( false, "SwTextPortion::GetCursorOfst: don't use this method!" );
return SwLinePortion::GetCursorOfst( nOfst );
@@ -566,8 +566,8 @@ bool SwTextPortion::GetExpText( const SwTextSizeInfo &, OUString & ) const
// Responsible for the justified paragraph. They calculate the blank
// count and the resulting added space.
-sal_Int32 SwTextPortion::GetSpaceCnt( const SwTextSizeInfo &rInf,
- sal_Int32& rCharCnt ) const
+TextFrameIndex SwTextPortion::GetSpaceCnt(const SwTextSizeInfo &rInf,
+ TextFrameIndex& rCharCnt) const
{
sal_Int32 nCnt = 0;
sal_Int32 nPos = 0;