diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-05 15:42:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-09-05 15:42:29 +0200 |
commit | f893a2b9ee74e15de4ead641635c728616b65bdc (patch) | |
tree | 58be1a11cdead47b7816e26f262d07bc928d91bf /vcl | |
parent | f62d22286972d22809fafbd9cb44263d12a6aa85 (diff) |
Simplify Sequence construction
Change-Id: I24b53d2879d1aa34d7882300c7b51e42e621160e
Diffstat (limited to 'vcl')
-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() |