[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Tue Nov 11 05:28:11 PST 2014
sw/source/core/inc/wrong.hxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 620aef1070b03cce0a88eb45e2f9cdcbc6d5525e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Nov 11 14:27:36 2014 +0100
Remove unused ShiftRight
Change-Id: I0405506b8dc61df023c01c4f0ae63926e3ea1769
diff --git a/sw/source/core/inc/wrong.hxx b/sw/source/core/inc/wrong.hxx
index 4d31b9a..f15e1a8 100644
--- a/sw/source/core/inc/wrong.hxx
+++ b/sw/source/core/inc/wrong.hxx
@@ -187,8 +187,6 @@ class SwWrongList
void ShiftLeft( sal_Int32 &rPos, sal_Int32 nStart, sal_Int32 nEnd )
{ if( rPos > nStart ) rPos = rPos > nEnd ? rPos - nEnd + nStart : nStart; }
- void ShiftRight( sal_Int32 &rPos, sal_Int32 nStart, sal_Int32 nEnd )
- { if( rPos >= nStart ) rPos += nStart - nEnd; }
void _Invalidate( sal_Int32 nBegin, sal_Int32 nEnd );
void Insert(sal_uInt16 nWhere, std::vector<SwWrongArea>::iterator startPos, std::vector<SwWrongArea>::iterator endPos);
More information about the Libreoffice-commits
mailing list