diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-29 10:09:28 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-31 11:34:17 +0100 |
commit | c981ac598ab46eb3ab7d244bf07fdcbb691438b2 (patch) | |
tree | 81cc1d06c838686d6db54c09fc77b5423976cba5 /svgio | |
parent | 6f17715a4fb93b1094e037872395ca9732278f43 (diff) |
Prepare for removal of non-const operator[] from Sequence in svgio
Change-Id: I2ae44fc1016b062b574b3aa1e25f5b59b18e2fe4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124394
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/source/svguno/xsvgparser.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svgio/source/svguno/xsvgparser.cxx b/svgio/source/svguno/xsvgparser.cxx index 7e8f8abe4439..515c6910beb4 100644 --- a/svgio/source/svguno/xsvgparser.cxx +++ b/svgio/source/svguno/xsvgparser.cxx @@ -93,8 +93,7 @@ namespace svgio::svgreader // that use entities to define XML namespaces. uno::Reference<lang::XInitialization> const xInit(xParser, uno::UNO_QUERY_THROW); - uno::Sequence<uno::Any> args(1); - args[0] <<= OUString("DoSmeplease"); + uno::Sequence<uno::Any> args{ uno::Any(OUString("DoSmeplease")) }; xInit->initialize(args); // connect parser and filter |