summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/text/itrtxt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/itrtxt.cxx b/sw/source/core/text/itrtxt.cxx
index 11dd062e0cfd..15e2762b7323 100644
--- a/sw/source/core/text/itrtxt.cxx
+++ b/sw/source/core/text/itrtxt.cxx
@@ -351,7 +351,7 @@ void SwTextIter::TruncLines( bool bNoteFollow )
if( RES_TXTATR_FLYCNT == pHt->Which() )
{
// check, if hint is in our range
- const sal_uInt16 nTmpPos = pHt->GetStart();
+ const sal_Int32 nTmpPos = pHt->GetStart();
if ( nEnd <= nTmpPos && nTmpPos < nRangeEnd )
pFollow->InvalidateRange_(
SwCharRange( nTmpPos, nTmpPos ) );