summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-06 16:02:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-06 16:33:29 +0200
commit3f67e4975a096bc69fafb3330ea81339c264bcc7 (patch)
treef7613eba7c774d621b6dcaabdb33d28e3710e18d /editeng
parent6eff4b66777849b85432b9a8250213d085c23c11 (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: Id2062ffd309f534f7c0dedf185569cfe5741c303
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit3.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 3ead023e0311..c11e8913ce71 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -1195,7 +1195,6 @@ bool ImpEditEngine::CreateLines( sal_Int32 nPara, sal_uInt32 nStartPosY )
if ( aStatus.OneCharPerLine() )
{
// State before Portion (apart from nTmpWidth):
- nPortionEnd = nTmpPos;
nTmpPos -= pPortion ? pPortion->GetLen() : 0;
nPortionStart = nTmpPos;
nTmpPortion--;