From 80c0d3de5c855386ccf079501f3d6d77babb81e1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 25 Jan 2015 14:07:50 +0000 Subject: coverity#1266511 Useless call Change-Id: I0ca967e6e07cc00159612dd8e19648445e0a011a --- lotuswordpro/source/filter/lwppara.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lotuswordpro/source/filter') 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) { -- cgit