summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-06 16:02:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-06 16:33:29 +0200
commitda43c510e71db6afed581c5b038fbb97c89c8860 (patch)
tree32df83c12141e4a05df0fc5c564c3f55fdbe774a
parent3f67e4975a096bc69fafb3330ea81339c264bcc7 (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: Ic36598f30efd04b4084c0ffa1f4616687abf4d29
-rw-r--r--editeng/source/editeng/impedit3.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index c11e8913ce71..99a982941511 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -1511,7 +1511,6 @@ bool ImpEditEngine::CreateLines( sal_Int32 nPara, sal_uInt32 nStartPosY )
pLine->SetValid();
if ( bCalcCharPositions && bQuickFormat )
{
- bCalcCharPositions = false;
bLineBreak = false;
pParaPortion->CorrectValuesBehindLastFormattedLine( nLine );
break;
@@ -1525,7 +1524,6 @@ bool ImpEditEngine::CreateLines( sal_Int32 nPara, sal_uInt32 nStartPosY )
// then the text width does not have to be determined anew:
if ( nEnd == ( aSaveLine.GetEnd() + nInvalidDiff ) )
{
- bCalcCharPositions = false;
bLineBreak = false;
pParaPortion->CorrectValuesBehindLastFormattedLine( nLine );
break;