diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index 455b9e4b756f..8f70d05794ec 100644 --- a/chart2/source/view/charttypes/GL3DBarChart.cxx +++ b/chart2/source/view/charttypes/GL3DBarChart.cxx @@ -293,7 +293,6 @@ void GL3DBarChart::clickedAt(const Point& /*rPos*/, sal_uInt16 nButtons) if(nButtons != MOUSE_LEFT) return; - mbBlockUserInput = true; sal_uInt32 nId = 5; /* { @@ -309,6 +308,8 @@ void GL3DBarChart::clickedAt(const Point& /*rPos*/, sal_uInt16 nButtons) if(itr == maBarMap.end()) return; + mbBlockUserInput = true; + const BarInformation& rBarInfo = itr->second; mnStepsTotal = 100; mnStep = 0;