Kaydet (Commit) 98cd6327 authored tarafından Matteo Casalin's avatar Matteo Casalin

Fix my previous commits

4c80589cf22934b6809f159917a1f8499544f8fc
6d0de28ae04d3386dca0360df28c5317c80fc53c

Change-Id: I965650388530317588b3a591e8b51f162924af36
üst a4704cb0
...@@ -538,7 +538,7 @@ sal_uInt16 SwRedlineTbl::FindPrevSeqNo( sal_uInt16 nSeqNo, sal_uInt16 nSttPos, ...@@ -538,7 +538,7 @@ sal_uInt16 SwRedlineTbl::FindPrevSeqNo( sal_uInt16 nSeqNo, sal_uInt16 nSttPos,
sal_uInt16 nRet = USHRT_MAX; sal_uInt16 nRet = USHRT_MAX;
if( nSeqNo && nSttPos < size() ) if( nSeqNo && nSttPos < size() )
{ {
const size_t nEnd = 0; size_t nEnd = 0;
if( nLookahead && nSttPos > nLookahead ) if( nLookahead && nSttPos > nLookahead )
nEnd = nSttPos - nLookahead; nEnd = nSttPos - nLookahead;
...@@ -1562,7 +1562,7 @@ bool SwRangeRedline::operator<( const SwRangeRedline& rCmp ) const ...@@ -1562,7 +1562,7 @@ bool SwRangeRedline::operator<( const SwRangeRedline& rCmp ) const
if (*Start() < *rCmp.Start()) if (*Start() < *rCmp.Start())
return true; return true;
return *Start() == *rCmp.Start() && *End() < *rCmp.End() return *Start() == *rCmp.Start() && *End() < *rCmp.End();
} }
const SwRedlineData & SwRangeRedline::GetRedlineData(sal_uInt16 nPos) const const SwRedlineData & SwRangeRedline::GetRedlineData(sal_uInt16 nPos) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment