[Libreoffice-commits] core.git: xmloff/source
Julien Nabet
serval2412 at yahoo.fr
Fri Aug 30 11:47:48 PDT 2013
xmloff/source/chart/SchXMLTableContext.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 72e019c4e301ef93bd1be985edd037d1e2b10e28
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Fri Aug 30 20:47:12 2013 +0200
-Werror=unused-but-set-variable bCategoriesApplied
Change-Id: I43c1f866847e2029bc1547dff3be3c1ed454d281
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx
index 18cd73c..7d79bc2 100644
--- a/xmloff/source/chart/SchXMLTableContext.cxx
+++ b/xmloff/source/chart/SchXMLTableContext.cxx
@@ -885,7 +885,6 @@ void SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary(
const OUString lcl_aCategoriesRange(aCategoriesRange);
- bool bCategoriesApplied = false;
// translate ranges (using the map created before)
for( tSchXMLLSequencesPerIndex::const_iterator aLSeqIt( rLSequencesPerIndex.begin());
aLSeqIt != rLSequencesPerIndex.end(); ++aLSeqIt )
@@ -917,7 +916,6 @@ void SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary(
if( lcl_tableOfRangeMatches( aRange, rTable.aTableNameOfFile ))
{
if( aLSeqIt->first.first == SCH_XML_CATEGORIES_INDEX )
- bCategoriesApplied = true;
}
else
{
@@ -930,7 +928,6 @@ void SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary(
SchXMLTools::copyProperties(
xOldSequenceProp, Reference< beans::XPropertySet >( xNewSequence, uno::UNO_QUERY ));
aLSeqIt->second->setValues( xNewSequence );
- bCategoriesApplied = true;
}
else
{
More information about the Libreoffice-commits
mailing list