svgio/source/svguno/xsvgparser.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit c981ac598ab46eb3ab7d244bf07fdcbb691438b2 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Fri Oct 29 10:09:28 2021 +0300 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Sun Oct 31 11:34:17 2021 +0100 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.kagan...@collabora.com> 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