summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-08-30 20:58:07 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-08-30 20:58:07 +0200
commit47924a46566352dd99a14163d98bd2b51cca6b0e (patch)
tree7e07c8dea8bb63625e48c83f0379e86fcf763f67
parent72e019c4e301ef93bd1be985edd037d1e2b10e28 (diff)
Revert "-Werror=unused-but-set-variable bCategoriesApplied"
-rw-r--r--xmloff/source/chart/SchXMLTableContext.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx
index 7d79bc23f4a9..18cd73c9b1c1 100644
--- a/xmloff/source/chart/SchXMLTableContext.cxx
+++ b/xmloff/source/chart/SchXMLTableContext.cxx
@@ -885,6 +885,7 @@ 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 )
@@ -916,6 +917,7 @@ void SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary(
if( lcl_tableOfRangeMatches( aRange, rTable.aTableNameOfFile ))
{
if( aLSeqIt->first.first == SCH_XML_CATEGORIES_INDEX )
+ bCategoriesApplied = true;
}
else
{
@@ -928,6 +930,7 @@ void SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary(
SchXMLTools::copyProperties(
xOldSequenceProp, Reference< beans::XPropertySet >( xNewSequence, uno::UNO_QUERY ));
aLSeqIt->second->setValues( xNewSequence );
+ bCategoriesApplied = true;
}
else
{