[Libreoffice-commits] core.git: Branch 'feature/chart-3d-chart2' - chart2/source

Markus Mohrhard markus.mohrhard at collabora.co.uk
Tue May 27 08:01:43 PDT 2014


 chart2/source/view/charttypes/GL3DBarChart.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 5836a29b9045b8abdaadff35848b287dee37effc
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Tue May 27 16:32:25 2014 +0200

    prevent that early return prevents further user interaction
    
    Change-Id: I24f814a402d2b8af3ddf888719b78d3158c2a38f

diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index 263bf50..c2b29c3 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -315,7 +315,6 @@ void GL3DBarChart::clickedAt(const Point& /*rPos*/, sal_uInt16 nButtons)
     if(nButtons != MOUSE_LEFT)
         return;
 
-    mbBlockUserInput = true;
     sal_uInt32 nId = 5;
     /*
     {
@@ -331,6 +330,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;


More information about the Libreoffice-commits mailing list