summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLTableContext.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-08-30 20:47:12 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-08-30 20:47:27 +0200
commit72e019c4e301ef93bd1be985edd037d1e2b10e28 (patch)
tree7eab7f22fd3b66f58017d706d70e986c9758c3c9 /xmloff/source/chart/SchXMLTableContext.cxx
parent5f860df7fef263d3260e8074841fffcfdf4717fc (diff)
-Werror=unused-but-set-variable bCategoriesApplied
Change-Id: I43c1f866847e2029bc1547dff3be3c1ed454d281
Diffstat (limited to 'xmloff/source/chart/SchXMLTableContext.cxx')
-rw-r--r--xmloff/source/chart/SchXMLTableContext.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx
index 18cd73c9b1c1..7d79bc23f4a9 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
{