diff --git a/vcl/workben/fodt2pdffuzzer.cxx b/vcl/workben/fodt2pdffuzzer.cxx index cc73b895d640..6c9b273a88ba 100644 --- a/vcl/workben/fodt2pdffuzzer.cxx +++ b/vcl/workben/fodt2pdffuzzer.cxx @@ -39,7 +39,7 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv) // create and hold a reference to XToolkit here to avoid the lsan warning about its leak // due to getting created in the unusual case of no vcl main loop - static css::uno::Reference xTk( + static css::uno::Reference xTk( comphelper::getProcessServiceFactory()->createInstance("com.sun.star.awt.Toolkit"), css::uno::UNO_QUERY_THROW);