summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-05-27 16:32:25 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-05-27 16:56:03 +0200
commited24ae433bc280100c18b00d6083b6730ac35ecc (patch)
treecd29e082cf7cee8a1bea5e5497848d80021f7150 /chart2
parent8c9b3cdccef118cbb0115a84c62e90633fc0d8e3 (diff)
prevent that early return prevents further user interaction
Change-Id: I24f814a402d2b8af3ddf888719b78d3158c2a38f
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/charttypes/GL3DBarChart.cxx3
1 files changed, 2 insertions, 1 deletions
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;