Revert "loplugin:unreffun"

This reverts commit 7686f93f58.
This commit is contained in:
Markus Mohrhard
2014-05-28 01:18:18 +02:00
committed by Markus Mohrhard
parent 05ff915779
commit 16642b7feb

View File

@@ -294,6 +294,28 @@ 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)