[PATCH libreoffice-4-0-2] -Werror=shadow/-Werror=unused-variable

Stephan Bergmann (via Code Review) gerrit at gerrit.libreoffice.org
Wed Mar 13 03:38:16 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2699

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/99/2699/1

-Werror=shadow/-Werror=unused-variable

...picking the corresponding fix from bab961dd0a5abe985e2787aa789eae7a4d6cbbd9
"Fix chart2 build."
(cherry picked from commit e15488286d2f5eb4fb5414cf3a17690b36eed8ac)

Change-Id: I87f973b9fa402de594d449366fb7a038658e7ccc
---
M chart2/source/view/charttypes/PieChart.cxx
1 file changed, 0 insertions(+), 1 deletion(-)



diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx
index bb68948..916199e 100644
--- a/chart2/source/view/charttypes/PieChart.cxx
+++ b/chart2/source/view/charttypes/PieChart.cxx
@@ -391,7 +391,6 @@
             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);

-- 
To view, visit https://gerrit.libreoffice.org/2699
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I87f973b9fa402de594d449366fb7a038658e7ccc
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0-2
Gerrit-Owner: Stephan Bergmann <sbergman at redhat.com>



More information about the LibreOffice mailing list