Kaydet (Commit) 80c0d3de authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1266511 Useless call

Change-Id: I0ca967e6e07cc00159612dd8e19648445e0a011a
üst f0fdd59f
...@@ -578,8 +578,6 @@ void LwpPara::RegisterStyle() ...@@ -578,8 +578,6 @@ void LwpPara::RegisterStyle()
LwpNumberingOverride* pNumbering = this->GetParaNumbering(); LwpNumberingOverride* pNumbering = this->GetParaNumbering();
sal_uInt16 nPosition = pNumbering->GetPosition(); sal_uInt16 nPosition = pNumbering->GetPosition();
bool bLesser = m_pSilverBullet->IsLesserLevel(nPosition); bool bLesser = m_pSilverBullet->IsLesserLevel(nPosition);
/*sal_Bool bResetSection =*/ m_pSilverBullet->IsNewSection(nPosition);
bool bHeading;
LwpPara* pPara = this; LwpPara* pPara = this;
LwpPara* pPrePara = NULL; LwpPara* pPrePara = NULL;
sal_uInt16 nNum = 0, nLevel = 0, nFoundLevel = 0xffff, nFoundBound = 0; sal_uInt16 nNum = 0, nLevel = 0, nFoundLevel = 0xffff, nFoundBound = 0;
...@@ -589,7 +587,7 @@ void LwpPara::RegisterStyle() ...@@ -589,7 +587,7 @@ void LwpPara::RegisterStyle()
{ {
nFoundBound++; nFoundBound++;
} }
bHeading = pNumbering->IsHeading(); bool bHeading = pNumbering->IsHeading();
while(true) while(true)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment