summaryrefslogtreecommitdiffstats
path: root/vcl/workben/scrtffuzzer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/workben/scrtffuzzer.cxx')
-rw-r--r--vcl/workben/scrtffuzzer.cxx16
1 files changed, 10 insertions, 6 deletions
diff --git a/vcl/workben/scrtffuzzer.cxx b/vcl/workben/scrtffuzzer.cxx
index 9961389a83a2..5221ef045a17 100644
--- a/vcl/workben/scrtffuzzer.cxx
+++ b/vcl/workben/scrtffuzzer.cxx
@@ -13,9 +13,9 @@
#include <com/sun/star/ucb/XUniversalContentBroker.hpp>
#include "commonfuzzer.hxx"
-extern "C" bool TestImportCalcRTF(SvStream &rStream);
+extern "C" bool TestImportCalcRTF(SvStream& rStream);
-extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
+extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)
{
if (__lsan_disable)
__lsan_disable();
@@ -23,12 +23,16 @@ extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
CommonInitialize(argc, argv);
// initialise unconfigured UCB:
- css::uno::Reference<css::ucb::XUniversalContentBroker> xUcb(comphelper::getProcessServiceFactory()->
- createInstance("com.sun.star.ucb.UniversalContentBroker"), css::uno::UNO_QUERY_THROW);
+ css::uno::Reference<css::ucb::XUniversalContentBroker> xUcb(
+ 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::Reference<css::ucb::XContentProvider> xFileProvider(comphelper::getProcessServiceFactory()->
- createInstanceWithArguments("com.sun.star.ucb.FileContentProvider", aArgs), css::uno::UNO_QUERY_THROW);
+ css::uno::Reference<css::ucb::XContentProvider> xFileProvider(
+ comphelper::getProcessServiceFactory()->createInstanceWithArguments(
+ "com.sun.star.ucb.FileContentProvider", aArgs),
+ css::uno::UNO_QUERY_THROW);
xUcb->registerContentProvider(xFileProvider, "file", true);
if (__lsan_enable)