summaryrefslogtreecommitdiffstats
path: root/binaryurp
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-06-05 00:21:06 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-06-05 16:21:03 +0200
commit3e8e5f079e032a2b7b709bc01113f14da893263c (patch)
treef84410766900e75f51987ede1b62af67c5cac965 /binaryurp
parentgtk4: ToggleButtons can have images too (diff)
downloadcore-3e8e5f079e032a2b7b709bc01113f14da893263c.tar.gz
core-3e8e5f079e032a2b7b709bc01113f14da893263c.zip
Simplify Sequences initializations (accessibility/binaryurp)
Change-Id: I4b388b7faa1dc47f27d29aaaff9041fe81a29f71 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116739 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'binaryurp')
-rw-r--r--binaryurp/source/bridge.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx
index acefb175e8ec..007e7e9440df 100644
--- a/binaryurp/source/bridge.cxx
+++ b/binaryurp/source/bridge.cxx
@@ -951,8 +951,7 @@ void Bridge::sendCommitChangeRequest() {
assert(mode_ == MODE_REQUESTED || mode_ == MODE_REPLY_1);
css::uno::Sequence< css::bridge::ProtocolProperty > s(1);
s[0].Name = "CurrentContext";
- std::vector< BinaryAny > a;
- a.push_back(mapCppToBinaryAny(css::uno::Any(s)));
+ std::vector< BinaryAny > a { mapCppToBinaryAny(css::uno::Any(s)) };
sendProtPropRequest(OutgoingRequest::KIND_COMMIT_CHANGE, a);
}