summaryrefslogtreecommitdiff
path: root/chart2/source/view
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-06 15:11:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-06 15:31:18 +0200
commit0411b3477f5ec941710933bf2f242d965ae3fe1e (patch)
tree9519683c9c217f4baa1467baf4290da0739c4b14 /chart2/source/view
parenta4ef2e39e590ee0c0b57237eff0d3649af46bf8e (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: Ibde6ee93edae124da52e2a03528a240d4066baa7
Diffstat (limited to 'chart2/source/view')
-rw-r--r--chart2/source/view/main/PlottingPositionHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/main/PlottingPositionHelper.cxx b/chart2/source/view/main/PlottingPositionHelper.cxx
index 25a22a649bf0..78903ea018b0 100644
--- a/chart2/source/view/main/PlottingPositionHelper.cxx
+++ b/chart2/source/view/main/PlottingPositionHelper.cxx
@@ -365,8 +365,8 @@ void PolarPlottingPositionHelper::setScales( const std::vector< ExplicitScaleDat
double fTranslate =1.0;
double fScale =FIXED_SIZE_FOR_3D_CHART_VOLUME/2.0;
- double fTranslateLogicZ =fTranslate;
- double fScaleLogicZ =fScale;
+ double fTranslateLogicZ;
+ double fScaleLogicZ;
{
double fScaleDirectionZ = AxisOrientation_MATHEMATICAL==m_aScales[2].Orientation ? 1.0 : -1.0;
double MinZ = getLogicMinZ();