summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-03-01 12:37:18 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-04-05 11:25:11 +0200
commit98cd6327e00e075170f8f9df4893b724a6e857d7 (patch)
treeb7a5ae777dfbada53dce20582d8a7eb1f7c529df /sw
parenta4704cb0d0a3c4469256c6c5aa10d396b8b52676 (diff)
Fix my previous commits
4c80589cf22934b6809f159917a1f8499544f8fc 6d0de28ae04d3386dca0360df28c5317c80fc53c Change-Id: I965650388530317588b3a591e8b51f162924af36
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docredln.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index 0d1c3e6c60ad..edc074a1c432 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -538,7 +538,7 @@ sal_uInt16 SwRedlineTbl::FindPrevSeqNo( sal_uInt16 nSeqNo, sal_uInt16 nSttPos,
sal_uInt16 nRet = USHRT_MAX;
if( nSeqNo && nSttPos < size() )
{
- const size_t nEnd = 0;
+ size_t nEnd = 0;
if( nLookahead && nSttPos > nLookahead )
nEnd = nSttPos - nLookahead;
@@ -1562,7 +1562,7 @@ bool SwRangeRedline::operator<( const SwRangeRedline& rCmp ) const
if (*Start() < *rCmp.Start())
return true;
- return *Start() == *rCmp.Start() && *End() < *rCmp.End()
+ return *Start() == *rCmp.Start() && *End() < *rCmp.End();
}
const SwRedlineData & SwRangeRedline::GetRedlineData(sal_uInt16 nPos) const