summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2018-02-10 17:27:42 +0100
committerMichael Meeks <michael.meeks@collabora.com>2018-02-11 00:05:57 +0100
commitf215096c24429fe69e7e5ab37898d0f0beeff0ab (patch)
treedf513396a50fc3e6a3282dfba98efd48ed3de270 /sd
parent273d0ee7b7edb24c2c9e15e9f4337f71c175801a (diff)
lok: allow libraries to pre-init themselves.
Populate static module references before entering a jail containing no code. Implement for scfilt, scui, swui, sdui. Change-Id: I8fec2aa78e67053a7945926c818122bd4290103c Reviewed-on: https://gerrit.libreoffice.org/49545 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/app/sddll.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sd/source/ui/app/sddll.cxx b/sd/source/ui/app/sddll.cxx
index 16b47899ceea..511b66567d67 100644
--- a/sd/source/ui/app/sddll.cxx
+++ b/sd/source/ui/app/sddll.cxx
@@ -96,6 +96,7 @@
#include <vcl/FilterConfigItem.hxx>
#include <comphelper/processfactory.hxx>
#include <o3tl/make_unique.hxx>
+#include <sdabstdlg.hxx>
using namespace ::com::sun::star;
@@ -289,4 +290,10 @@ void SdDLL::Init()
#endif
}
+extern "C" SAL_DLLPUBLIC_EXPORT
+void lok_preload_hook()
+{
+ SdAbstractDialogFactory::Create();
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */