summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-08-26 10:51:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-08-26 11:05:29 +0100
commita523b7c434f252a90f6cf9563a24ea230c9fcc20 (patch)
tree0ae05f4c7860575bef761f7f961b3b2f0dc37476 /vcl/workben
parente3771338eee211dbac7cad961a4a81342f2a56c9 (diff)
add ppt to fftester
Change-Id: I49162355ce5a58c6aaadfcfb9f45471e5c2a1424
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/fftester.cxx14
1 files changed, 13 insertions, 1 deletions
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx
index adf03b9e880f..41f5f88eb424 100644
--- a/vcl/workben/fftester.cxx
+++ b/vcl/workben/fftester.cxx
@@ -361,7 +361,19 @@ try_again:
}
ret = (int) (*pfnImport)(out);
}
-
+ else if (strcmp(argv[2], "ppt") == 0)
+ {
+ static HFilterCall pfnImport(0);
+ if (!pfnImport)
+ {
+ osl::Module aLibrary;
+ aLibrary.loadRelative(&thisModule, "libsdfiltlo.so", SAL_LOADMODULE_LAZY);
+ pfnImport = reinterpret_cast<HFilterCall>(
+ aLibrary.getFunctionSymbol("TestImportPPT"));
+ aLibrary.release();
+ }
+ ret = (int) (*pfnImport)(out);
+ }
}
/* To signal successful completion of a run, we need to deliver