summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-23 20:44:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-23 21:32:25 +0000
commit482a02ca472fdfda02b2f7ee3cb0208522990fbc (patch)
tree28e16f6e1531b7a111f52ee51f703271c5cf30ca
parentb5e6fad133a59568ae508a4e931e62b1db8a2d21 (diff)
cppcheck: Variable 'bRootListToBeClosed' is never used
-rw-r--r--xmloff/source/text/txtparae.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 063100598dcd..d2b68d0e8b71 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -847,13 +847,11 @@ void XMLTextParagraphExport::exportListChange(
// end a list
if ( rPrevInfo.GetLevel() > 0 )
{
- bool bRootListToBeClosed = false;
sal_Int16 nListLevelsToBeClosed = 0;
if ( !rNextInfo.BelongsToSameList( rPrevInfo ) ||
rNextInfo.GetLevel() <= 0 )
{
// close complete previous list
- bRootListToBeClosed = true;
nListLevelsToBeClosed = rPrevInfo.GetLevel();
}
else if ( rPrevInfo.GetLevel() > rNextInfo.GetLevel() )