diff options
-rw-r--r-- | vcl/source/uitest/uitest.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/uitest/uitest.cxx b/vcl/source/uitest/uitest.cxx index da4f9fe980b9..46457ebcc6f1 100644 --- a/vcl/source/uitest/uitest.cxx +++ b/vcl/source/uitest/uitest.cxx @@ -18,10 +18,10 @@ void UITest::executeCommand(const OUString& rCommand) { - css::uno::Sequence<css::beans::PropertyValue> aProps(1); - aProps[0].Name = "SynchronMode"; - aProps[0].Value = css::uno::toAny(false); - comphelper::dispatchCommand(rCommand, aProps); + comphelper::dispatchCommand( + rCommand, + {{"SynchronMode", -1, css::uno::Any(false), + css::beans::PropertyState_DIRECT_VALUE}}); } std::unique_ptr<UIObject> UITest::getFocusTopWindow() |