[Libreoffice-commits] core.git: xmloff/source
Julien Nabet
serval2412 at yahoo.fr
Fri Aug 30 11:58:59 PDT 2013
xmloff/source/chart/SchXMLTableContext.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 47924a46566352dd99a14163d98bd2b51cca6b0e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Fri Aug 30 20:58:07 2013 +0200
Revert "-Werror=unused-but-set-variable bCategoriesApplied"
This reverts commit 72e019c4e301ef93bd1be985edd037d1e2b10e28.
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx
index 7d79bc2..18cd73c 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
{
More information about the Libreoffice-commits
mailing list