summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-13 09:27:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-03-13 11:02:47 +0000
commit6dc033dd2b55f91023fc446dd4f24b2a27ee2bf6 (patch)
tree6f6f48154c1f42f8eb42aa1920504de2d76562db /chart2
parent1696ec904079360cf35a39f403aabc49699e8844 (diff)
-Werror=shadow/-Werror=unused-variable
...picking the corresponding fix from bab961dd0a5abe985e2787aa789eae7a4d6cbbd9 "Fix chart2 build." (cherry picked from commit e15488286d2f5eb4fb5414cf3a17690b36eed8ac) Change-Id: I87f973b9fa402de594d449366fb7a038658e7ccc Reviewed-on: https://gerrit.libreoffice.org/2699 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/charttypes/PieChart.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx
index bb689485df31..916199e80b85 100644
--- a/chart2/source/view/charttypes/PieChart.cxx
+++ b/chart2/source/view/charttypes/PieChart.cxx
@@ -391,7 +391,6 @@ void PieChart::createShapes()
if( !bIsVisible )
continue;
- double fLogicZ = -1.0;//as defined
double fDepth = this->getTransformedDepth() * (n3DRelativeHeight / 100.0);
uno::Reference< drawing::XShapes > xSeriesGroupShape_Shapes = getSeriesGroupShape(pSeries, xSeriesTarget);