summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-08 16:35:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-09 09:23:58 +0200
commit93d499df007cbde03222e6302168cbeb16bf9b6e (patch)
treeaac05704d58a67ad1863709489dacfff1014fd2c /vcl/source
parentd5dc2a2a726dd151fb30fae25478511dce929dfa (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: I499f00e13543d2191008a0d7a4aa0391d6889315
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/edit/texteng.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index e3ad74f026aa..1815e4330891 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -912,7 +912,6 @@ Rectangle TextEngine::GetEditCursor( const TextPaM& rPaM, bool bSpecial, bool bP
pLine = & ( pPortion->GetLines().back() );
nY -= mnCharHeight;
- nCurIndex = nCurIndex - pLine->GetLen();
}
Rectangle aEditCursor;