diff options
Diffstat (limited to 'vcl/workben/fftester.cxx')
-rw-r--r-- | vcl/workben/fftester.cxx | 14 |
1 files changed, 13 insertions, 1 deletions
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<HFilterCall>( + aLibrary.getFunctionSymbol("TestImportPPT")); + aLibrary.release(); + } + ret = (int) (*pfnImport)(out); + } } /* To signal successful completion of a run, we need to deliver |