From a523b7c434f252a90f6cf9563a24ea230c9fcc20 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 26 Aug 2015 10:51:29 +0100 Subject: add ppt to fftester Change-Id: I49162355ce5a58c6aaadfcfb9f45471e5c2a1424 --- vcl/workben/fftester.cxx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'vcl/workben') diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx index adf03b9e880f..41f5f88eb424 100644 --- a/vcl/workben/fftester.cxx +++ b/vcl/workben/fftester.cxx @@ -361,7 +361,19 @@ try_again: } ret = (int) (*pfnImport)(out); } - + else if (strcmp(argv[2], "ppt") == 0) + { + static HFilterCall pfnImport(0); + if (!pfnImport) + { + osl::Module aLibrary; + aLibrary.loadRelative(&thisModule, "libsdfiltlo.so", SAL_LOADMODULE_LAZY); + pfnImport = reinterpret_cast( + aLibrary.getFunctionSymbol("TestImportPPT")); + aLibrary.release(); + } + ret = (int) (*pfnImport)(out); + } } /* To signal successful completion of a run, we need to deliver -- cgit