diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-08-22 06:33:39 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-08-22 07:14:58 +0200 |
commit | af14ad6c20f9e8422a1016b650c7d83a5cc7dc00 (patch) | |
tree | 8e1784a68478f66c92e3849088710a39db1c2ff9 /lotuswordpro | |
parent | 8b5dc58a3e36370c7469e341ac0400cebd7e131c (diff) |
cppcheck: fix redundant assignments
Change-Id: Ib0c2f0c2b67f40ce75469b434a67c62187aca93d
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwppara.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx index 5628772dfdef..12d647b366ef 100644 --- a/lotuswordpro/source/filter/lwppara.cxx +++ b/lotuswordpro/source/filter/lwppara.cxx @@ -316,8 +316,7 @@ sal_Bool LwpPara::RegisterMasterPage(XFParaStyle* pBaseStyle) //if pagelayout is modified, register the pagelayout if(pStory && pStory->IsPMModified()) { - sal_Bool bNewSection = sal_False; - bNewSection = pStory->IsNeedSection(); + sal_Bool bNewSection = pStory->IsNeedSection(); LwpPageLayout* pLayout = pStory->GetCurrentLayout(); if(bNewSection) { |