summaryrefslogtreecommitdiffstats
path: root/vcl/workben/fftester.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/workben/fftester.cxx')
-rw-r--r--vcl/workben/fftester.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx
index 9c9ee1bfe5b6..cb41af952cc1 100644
--- a/vcl/workben/fftester.cxx
+++ b/vcl/workben/fftester.cxx
@@ -347,6 +347,20 @@ try_again:
}
ret = (int) (*pfnImport)(out);
}
+ else if (strcmp(argv[2], "lwp") == 0)
+ {
+ static HFilterCall pfnImport(0);
+ if (!pfnImport)
+ {
+ osl::Module aLibrary;
+ aLibrary.loadRelative(&thisModule, "liblwpftlo.so", SAL_LOADMODULE_LAZY);
+ pfnImport = reinterpret_cast<HFilterCall>(
+ aLibrary.getFunctionSymbol("TestImportLWP"));
+ aLibrary.release();
+ }
+ ret = (int) (*pfnImport)(out);
+ }
+
}
/* To signal successful completion of a run, we need to deliver