summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-06 16:00:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-06 16:33:28 +0200
commit6eff4b66777849b85432b9a8250213d085c23c11 (patch)
treecc47ea3137ad619d5354734491a606b63ac2ae31 /editeng
parentc1778ef1cb731e501b07b0ec3753fa71f6afe363 (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: Ibec716d78425d32b7341eb608c08202364b84ba4
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit2.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index adb316930bd3..1813ce758252 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -4161,7 +4161,6 @@ Rectangle ImpEditEngine::GetEditCursor( ParaPortion* pPortion, sal_Int32 nIndex,
nY -= pLine->GetHeight();
if ( !aStatus.IsOutliner() )
nY -= nSBL;
- nCurIndex = nCurIndex - pLine->GetLen();
}
Rectangle aEditCursor;