summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-12-10 21:17:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-12-10 21:17:05 +0000
commit35e1edf27b2296778d4bff190be63a9c3a718629 (patch)
tree91b342728033b7edd803fdb0eeb5924812ba1281 /vcl/workben
parente718ac0ae415bba2988c96c36995755bbfd9df7f (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.cxx4
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