summaryrefslogtreecommitdiff
path: root/vcl/workben/xlsfuzzer.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-11-06 16:16:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-11-06 17:17:18 +0100
commit2576f08b3b29f460378a6c3b306cc2dfb8b1c638 (patch)
tree6b2887ddec7a4aa3900ec764f35ffb506a298da7 /vcl/workben/xlsfuzzer.cxx
parent278f91d9611dfe21fa03ee348aaab2bb1b6f5e3c (diff)
ofz: fix build
Change-Id: I0be535097cb7e2c8fa2346843592945db981dad0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124800 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/workben/xlsfuzzer.cxx')
-rw-r--r--vcl/workben/xlsfuzzer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/workben/xlsfuzzer.cxx b/vcl/workben/xlsfuzzer.cxx
index 893110988b3d..4dd38ea228dd 100644
--- a/vcl/workben/xlsfuzzer.cxx
+++ b/vcl/workben/xlsfuzzer.cxx
@@ -29,8 +29,7 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)
comphelper::getProcessServiceFactory()->createInstance(
"com.sun.star.ucb.UniversalContentBroker"),
css::uno::UNO_QUERY_THROW);
- css::uno::Sequence<css::uno::Any> aArgs(1);
- aArgs[0] <<= OUString("NoConfig");
+ css::uno::Sequence<css::uno::Any> aArgs{ css::uno::Any(OUString("NoConfig")) };
css::uno::Reference<css::ucb::XContentProvider> xFileProvider(
comphelper::getProcessServiceFactory()->createInstanceWithArguments(
"com.sun.star.ucb.FileContentProvider", aArgs),