diff --git a/vcl/source/window/openglwin.cxx b/vcl/source/window/openglwin.cxx index e0c2c59811e1..28414aefc7c0 100644 --- a/vcl/source/window/openglwin.cxx +++ b/vcl/source/window/openglwin.cxx @@ -71,7 +71,6 @@ void OpenGLWindow::MouseButtonUp( const MouseEvent& rMEvt ) Point aPoint = rMEvt.GetPosPixel(); if(aPoint == maStartPoint) { - Color aColor = GetPixel(aPoint); mpRenderer->clickedAt(aPoint, rMEvt.GetButtons()); } else