diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-30 16:46:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-30 19:37:32 +0100 |
commit | ac9e7af60bd4e898f921173260bd0e9ebfd0ea34 (patch) | |
tree | dd988ab65fe1c01d1c4e25521d722428b786901a /vcl/workben | |
parent | 9e481f6036775044bb02a5e08f6d3af3a37acc56 (diff) |
add xls support to fftester
Change-Id: I23e219cec1a8d98e02c3584041f67ff42dd29bd8
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/fftester.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx index 41f5f88eb424..f0bbb7442668 100644 --- a/vcl/workben/fftester.cxx +++ b/vcl/workben/fftester.cxx @@ -335,6 +335,20 @@ try_again: else ret = (int) (*pfnImport)(out, OUString("CWW8")); } + else if (strcmp(argv[2], "xls") == 0) + { + static HFilterCall pfnImport(0); + if (!pfnImport) + { + osl::Module aLibrary; + aLibrary.loadRelative(&thisModule, "libscfiltlo.so", SAL_LOADMODULE_LAZY); + pfnImport = reinterpret_cast<HFilterCall>( + aLibrary.getFunctionSymbol("TestImportXLS")); + aLibrary.release(); + } + ret = (int) (*pfnImport)(out); + } + else if (strcmp(argv[2], "hwp") == 0) { static HFilterCall pfnImport(0); |