diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-06-03 22:59:28 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-06-03 22:59:28 +0200 |
commit | 417021ead14bf960a6f0a897cc4c1533f479210d (patch) | |
tree | 505ee39019c812eb45c0037cff74f254f2525a36 /chart2 | |
parent | 2791ce4ee56120d7814dcb3b7c6d6925b9cd9abc (diff) |
Fix variable value reassigned before old value used
Change-Id: Iac028806fd306253fe0e4b407302ff66f853b49c
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/ChartTypeHelper.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/tools/ChartTypeHelper.cxx b/chart2/source/tools/ChartTypeHelper.cxx index 658b6b03ea91..6cfc333d99a8 100644 --- a/chart2/source/tools/ChartTypeHelper.cxx +++ b/chart2/source/tools/ChartTypeHelper.cxx @@ -574,11 +574,10 @@ uno::Sequence < sal_Int32 > ChartTypeHelper::getSupportedMissingValueTreatments( if( !xChartType.is() ) return aRet; - bool bStacked = false; bool bFound=false; bool bAmbiguous=false; StackMode eStackMode = DiagramHelper::getStackModeFromChartType( xChartType, bFound, bAmbiguous, 0 ); - bStacked = bFound && (StackMode_Y_STACKED == eStackMode); + bool bStacked = bFound && (StackMode_Y_STACKED == eStackMode); OUString aChartTypeName = xChartType->getChartType(); if( aChartTypeName.match(CHART2_SERVICE_NAME_CHARTTYPE_COLUMN) || |