From 7686f93f58ae3eed7ed2ee2bead362d034e24c02 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 26 May 2014 07:47:17 +0200 Subject: [PATCH] loplugin:unreffun Change-Id: I43133e272fc915363b178d5f13377c9210eb628e --- .../source/view/charttypes/GL3DBarChart.cxx | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index 3f330a831a2d..b9c443fbb56e 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)