[Libreoffice-commits] .: xmloff/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Nov 23 13:32:30 PST 2010
xmloff/source/text/txtparae.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 442f4b88f256603f5d155e8c0d00acbac630b842
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Nov 23 20:44:48 2010 +0000
cppcheck: Variable 'bRootListToBeClosed' is never used
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 46c43b7..9410c49 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() )
More information about the Libreoffice-commits
mailing list