diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-03 16:53:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-03 17:03:27 +0100 |
commit | 0d97aeea052892911f089fdb87f972c02435b127 (patch) | |
tree | f6358d8fe0f952c28c000b0fde2d20016204248d /vcl/workben | |
parent | c4da74ba1a9ece585a86a03664f79b333bfee0bb (diff) |
add QuattroPro support to fftester
Change-Id: I832ab43e2fccf9b2c24e98ae443a9611012ea5a1
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/fftester.cxx | 11 |
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) { |