diff options
Diffstat (limited to 'vcl/workben/fftester.cxx')
-rw-r--r-- | vcl/workben/fftester.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx index 56af89e0f820..205a222ca0b1 100644 --- a/vcl/workben/fftester.cxx +++ b/vcl/workben/fftester.cxx @@ -433,16 +433,17 @@ try_again: } else if (strcmp(argv[2], "lwp") == 0) { - static HFilterCall pfnImport(nullptr); + static FFilterCall pfnImport(nullptr); if (!pfnImport) { osl::Module aLibrary; aLibrary.loadRelative(&thisModule, "liblwpftlo.so", SAL_LOADMODULE_LAZY); - pfnImport = reinterpret_cast<HFilterCall>( + pfnImport = reinterpret_cast<FFilterCall>( aLibrary.getFunctionSymbol("TestImportLWP")); aLibrary.release(); } - ret = (int) (*pfnImport)(out); + SvFileStream aFileStream(out, StreamMode::READ); + ret = (int) (*pfnImport)(aFileStream); } else if (strcmp(argv[2], "ppt") == 0) { |