From 4d22e3ce32959d795a90653807c1c19cc9c1838e Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Sun, 14 Feb 2021 22:26:00 +0900 Subject: Move PICT reader from filter module into VCL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6d3a28769ff3bffa3970a4ab6ab2384bb0aebbca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111011 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- vcl/workben/pctfuzzer.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'vcl/workben/pctfuzzer.cxx') diff --git a/vcl/workben/pctfuzzer.cxx b/vcl/workben/pctfuzzer.cxx index a916920c4b9f..db1ad0c90c30 100644 --- a/vcl/workben/pctfuzzer.cxx +++ b/vcl/workben/pctfuzzer.cxx @@ -10,6 +10,7 @@ #include #include #include "commonfuzzer.hxx" +#include #include #include @@ -39,8 +40,6 @@ extern "C" void* lo_get_custom_widget_func(const char*) return nullptr; } -extern "C" bool iptGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem); - extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) { TypicalFuzzerInitialize(argc, argv); @@ -51,7 +50,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { SvMemoryStream aStream(const_cast(data), size, StreamMode::READ); Graphic aGraphic; - (void)iptGraphicImport(aStream, aGraphic, nullptr); + (void)ImportPictGraphic(aStream, aGraphic); return 0; } -- cgit