diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-10 21:17:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-10 21:17:05 +0000 |
commit | 35e1edf27b2296778d4bff190be63a9c3a718629 (patch) | |
tree | 91b342728033b7edd803fdb0eeb5924812ba1281 /vcl/workben | |
parent | e718ac0ae415bba2988c96c36995755bbfd9df7f (diff) |
handle DISABLE_DYNLOADING case for fftester
just to build it, needs a bit of love for runtime cases I suppose
Change-Id: I9f5d4e4012e0addc8173f126fc93a2ec3eb9de45
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/fftester.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx index 624547ad54f1..e6a0ba665cfe 100644 --- a/vcl/workben/fftester.cxx +++ b/vcl/workben/fftester.cxx @@ -62,7 +62,9 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace cppu; +#ifndef DISABLE_DYNLOADING extern "C" { static void SAL_CALL thisModule() {} } +#endif typedef bool (*WFilterCall)(const OUString &rUrl, const OUString &rFlt); typedef bool (*HFilterCall)(const OUString &rUrl); @@ -162,6 +164,7 @@ try_again: SvFileStream aFileStream(out, StreamMode::READ); ReadGDIMetaFile(aFileStream, aGDIMetaFile); } +#ifndef DISABLE_DYNLOADING else if (strcmp(argv[2], "pcd") == 0) { static PFilterCall pfnImport(nullptr); @@ -449,6 +452,7 @@ try_again: } ret = (int) (*pfnImport)(out); } +#endif } /* To signal successful completion of a run, we need to deliver |