summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/wrong.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-11-11 14:27:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-11-11 14:27:36 +0100
commit620aef1070b03cce0a88eb45e2f9cdcbc6d5525e (patch)
treed9bb277694d28c5991becec3139e3a0b7954bef0 /sw/source/core/inc/wrong.hxx
parent580b65510bb6a9ac0069db822d4a176500b8df52 (diff)
Remove unused ShiftRight
Change-Id: I0405506b8dc61df023c01c4f0ae63926e3ea1769
Diffstat (limited to 'sw/source/core/inc/wrong.hxx')
-rw-r--r--sw/source/core/inc/wrong.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/core/inc/wrong.hxx b/sw/source/core/inc/wrong.hxx
index 4d31b9a52015..f15e1a8bea7a 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);