[Libreoffice-commits] core.git: chart2/source
Stephan Bergmann
sbergman at redhat.com
Sun May 25 22:47:43 PDT 2014
chart2/source/view/charttypes/GL3DBarChart.cxx | 22 ----------------------
1 file changed, 22 deletions(-)
New commits:
commit 7686f93f58ae3eed7ed2ee2bead362d034e24c02
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon May 26 07:47:17 2014 +0200
loplugin:unreffun
Change-Id: I43133e272fc915363b178d5f13377c9210eb628e
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index 3f330a8..b9c443f 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -284,28 +284,6 @@ void GL3DBarChart::update()
render();
}
-namespace {
-
-class PickingModeSetter
-{
-private:
- opengl3D::OpenGL3DRenderer* mpRenderer;
-
-public:
- PickingModeSetter(opengl3D::OpenGL3DRenderer* pRenderer):
- mpRenderer(pRenderer)
- {
- mpRenderer->SetPickingMode(true);
- }
-
- ~PickingModeSetter()
- {
- mpRenderer->SetPickingMode(false);
- }
-};
-
-}
-
void GL3DBarChart::clickedAt(const Point& /*rPos*/, sal_uInt16 nButtons)
{
if(mbBlockUserInput)
More information about the Libreoffice-commits
mailing list