From ed24ae433bc280100c18b00d6083b6730ac35ecc Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 27 May 2014 16:32:25 +0200 Subject: [PATCH] prevent that early return prevents further user interaction Change-Id: I24f814a402d2b8af3ddf888719b78d3158c2a38f --- chart2/source/view/charttypes/GL3DBarChart.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;