From 93eef21ce1f74c848fcf0ad4f4eab7a8167a39a8 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 12 Feb 2018 12:04:23 +0100 Subject: Disable lok_preload_hooks when not dynamically loading. Change-Id: I00f1e8978607f450d3ad33f4515be1fc962c0332 Reviewed-on: https://gerrit.libreoffice.org/49591 Tested-by: Jenkins Reviewed-by: Michael Meeks --- sd/source/ui/app/sddll.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sd/source') diff --git a/sd/source/ui/app/sddll.cxx b/sd/source/ui/app/sddll.cxx index 511b66567d67..b4741e4dd7f6 100644 --- a/sd/source/ui/app/sddll.cxx +++ b/sd/source/ui/app/sddll.cxx @@ -290,10 +290,14 @@ void SdDLL::Init() #endif } +#ifndef DISABLE_DYNLOADING + extern "C" SAL_DLLPUBLIC_EXPORT void lok_preload_hook() { SdAbstractDialogFactory::Create(); } +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit