summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLTableContext.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-08-30 21:02:26 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-08-30 21:02:26 +0200
commitccf7b15c0a5776c6431fdcb0c0e2b0f3935ae3dc (patch)
treeb07c644a3188f46305e7de94a54b701112769360 /xmloff/source/chart/SchXMLTableContext.cxx
parent47924a46566352dd99a14163d98bd2b51cca6b0e (diff)
-Werror=unused-but-set-variable second try
Change-Id: Ia8a9f60831d089ec04127213bb9ded31aa754bf7
Diffstat (limited to 'xmloff/source/chart/SchXMLTableContext.cxx')
-rw-r--r--xmloff/source/chart/SchXMLTableContext.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx
index 18cd73c9b1c1..b3189a5022c1 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 )
@@ -914,12 +913,7 @@ void SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary(
}
else
{
- if( lcl_tableOfRangeMatches( aRange, rTable.aTableNameOfFile ))
- {
- if( aLSeqIt->first.first == SCH_XML_CATEGORIES_INDEX )
- bCategoriesApplied = true;
- }
- else
+ if( !lcl_tableOfRangeMatches( aRange, rTable.aTableNameOfFile ))
{
if( aLSeqIt->first.first == SCH_XML_CATEGORIES_INDEX )
{
@@ -930,7 +924,6 @@ void SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary(
SchXMLTools::copyProperties(
xOldSequenceProp, Reference< beans::XPropertySet >( xNewSequence, uno::UNO_QUERY ));
aLSeqIt->second->setValues( xNewSequence );
- bCategoriesApplied = true;
}
else
{