summaryrefslogtreecommitdiff
path: root/qadevOOo/runner
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-01-16 13:38:46 +0100
committerMichael Stahl <mstahl@redhat.com>2017-01-16 13:42:56 +0100
commit39ca8c72c2090f557a1bccd241aec88c9bed52fb (patch)
tree38dbd93d61f11c9173a61fe3e08c3dd0dbda919c /qadevOOo/runner
parent36afb355ac37122d32d624db079def123ef548a2 (diff)
forms,qadevOOo: dispatch of .uno:SwitchControlDesignMode is async
Follow-up to e19cdeaf7ddbcf39da47d9685d8e79e775dde7f4. Change-Id: Ic4f8f0373199a4237fa30a830fc89a263eb40d62
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r--qadevOOo/runner/util/FormTools.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/qadevOOo/runner/util/FormTools.java b/qadevOOo/runner/util/FormTools.java
index c89e41b925dc..dd68221cdf2e 100644
--- a/qadevOOo/runner/util/FormTools.java
+++ b/qadevOOo/runner/util/FormTools.java
@@ -309,6 +309,7 @@ public class FormTools {
com.sun.star.beans.PropertyValue[] noArgs = new com.sun.star.beans.PropertyValue[0];
aDisp.dispatch(aURL, noArgs);
+ util.utils.waitForEventIdle(xMSF); // async dispatch
} catch (Exception e) {
System.out.println("******* Mist");
e.printStackTrace();