From 35e1edf27b2296778d4bff190be63a9c3a718629 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 10 Dec 2016 21:17:02 +0000 Subject: handle DISABLE_DYNLOADING case for fftester just to build it, needs a bit of love for runtime cases I suppose Change-Id: I9f5d4e4012e0addc8173f126fc93a2ec3eb9de45 --- vcl/workben/fftester.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vcl/workben/fftester.cxx') 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 -- cgit