From 6377fe10964ebf1936e4a55f845e3f1eda5501ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sun, 30 Apr 2023 09:58:19 +0100 Subject: [PATCH] fix fuzzer build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9b980f3c81d468da4bcc33b6d27df9233f78c365 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151219 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- vcl/workben/fodt2pdffuzzer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);