summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/fftester.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx
index 1143bfcbe521..c04d6d187499 100644
--- a/vcl/workben/fftester.cxx
+++ b/vcl/workben/fftester.cxx
@@ -335,18 +335,19 @@ try_again:
else
ret = (int) (*pfnImport)(out, OUString("CWW8"));
}
- else if (strcmp(argv[2], "xls") == 0)
+ else if ( (strcmp(argv[2], "xls") == 0) ||
+ (strcmp(argv[2], "wb2") == 0) )
{
- static HFilterCall pfnImport(0);
+ static WFilterCall pfnImport(0);
if (!pfnImport)
{
osl::Module aLibrary;
aLibrary.loadRelative(&thisModule, "libscfiltlo.so", SAL_LOADMODULE_LAZY);
- pfnImport = reinterpret_cast<HFilterCall>(
- aLibrary.getFunctionSymbol("TestImportXLS"));
+ pfnImport = reinterpret_cast<WFilterCall>(
+ aLibrary.getFunctionSymbol("TestImportSpreadsheet"));
aLibrary.release();
}
- ret = (int) (*pfnImport)(out);
+ ret = (int) (*pfnImport)(out, OUString(argv[2], strlen(argv[2]), RTL_TEXTENCODING_UTF8));
}
else if (strcmp(argv[2], "hwp") == 0)
{