summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-01-10 02:16:47 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-18 17:01:32 +0200
commitd7a840568c1bc721efef4de09bc8be162575c627 (patch)
tree55db479f721b90c406698335779804214a2c5a5c /vcl
parent343ba6ac089a926c9ee6cadd58b6c3637bcbc5eb (diff)
uitest: send all commands in async mode
This avoids that we are stuck when we call a modal dialog. Change-Id: Id8c6a7a4c1369359b1355095b87cccaa95123f89
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/uitest/uitest.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/uitest/uitest.cxx b/vcl/source/uitest/uitest.cxx
index d2af74512215..564538119801 100644
--- a/vcl/source/uitest/uitest.cxx
+++ b/vcl/source/uitest/uitest.cxx
@@ -20,7 +20,10 @@
void UITest::executeCommand(const OUString& rCommand)
{
- comphelper::dispatchCommand(rCommand, css::uno::Sequence<css::beans::PropertyValue>());
+ css::uno::Sequence<css::beans::PropertyValue> aProps(1);
+ aProps[0].Name = "SynchronMode";
+ aProps[0].Value = css::uno::toAny(false);
+ comphelper::dispatchCommand(rCommand, aProps);
}
std::unique_ptr<UIObject> UITest::getFocusTopWindow()