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)