vcl/source/uitest/uitest.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit f893a2b9ee74e15de4ead641635c728616b65bdc Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Sep 5 15:42:29 2016 +0200 Simplify Sequence construction Change-Id: I24b53d2879d1aa34d7882300c7b51e42e621160e diff --git a/vcl/source/uitest/uitest.cxx b/vcl/source/uitest/uitest.cxx index da4f9fe..46457eb 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() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits