fix fuzzer build

Change-Id: I9b980f3c81d468da4bcc33b6d27df9233f78c365
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151219
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara 2023-04-30 09:58:19 +01:00
parent 538956c32b
commit 6377fe1096

View file

@ -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<awt::XToolkit> xTk(
static css::uno::Reference<css::awt::XToolkit> xTk(
comphelper::getProcessServiceFactory()->createInstance("com.sun.star.awt.Toolkit"),
css::uno::UNO_QUERY_THROW);