summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-25 14:07:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-25 14:07:50 +0000
commit80c0d3de5c855386ccf079501f3d6d77babb81e1 (patch)
tree68ce7d5e9de2071b516f8d08bd7ac080d135195c /lotuswordpro
parentf0fdd59f0ec88ef69b463d73963a0f3f81e1d78a (diff)
coverity#1266511 Useless call
Change-Id: I0ca967e6e07cc00159612dd8e19648445e0a011a
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwppara.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx
index 22cf0287b047..b2326f0825f7 100644
--- a/lotuswordpro/source/filter/lwppara.cxx
+++ b/lotuswordpro/source/filter/lwppara.cxx
@@ -578,8 +578,6 @@ void LwpPara::RegisterStyle()
LwpNumberingOverride* pNumbering = this->GetParaNumbering();
sal_uInt16 nPosition = pNumbering->GetPosition();
bool bLesser = m_pSilverBullet->IsLesserLevel(nPosition);
- /*sal_Bool bResetSection =*/ m_pSilverBullet->IsNewSection(nPosition);
- bool bHeading;
LwpPara* pPara = this;
LwpPara* pPrePara = NULL;
sal_uInt16 nNum = 0, nLevel = 0, nFoundLevel = 0xffff, nFoundBound = 0;
@@ -589,7 +587,7 @@ void LwpPara::RegisterStyle()
{
nFoundBound++;
}
- bHeading = pNumbering->IsHeading();
+ bool bHeading = pNumbering->IsHeading();
while(true)
{