summaryrefslogtreecommitdiff
path: root/xmloff
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
commit442f4b88f256603f5d155e8c0d00acbac630b842 (patch)
treeba120a26323729924844190c0f8fc08652050c8c /xmloff
parentab4c03ce1b16401af9bba36784f769b61676bf0f (diff)
cppcheck: Variable 'bRootListToBeClosed' is never used
Diffstat (limited to 'xmloff')
-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 46c43b7267..9410c49ca4 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() )