[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - desktop/source
Henry Castro
hcastro at collabora.com
Mon Aug 17 19:21:15 PDT 2015
desktop/source/lib/init.cxx | 11 +++++++++++
1 file changed, 11 insertions(+)
New commits:
commit 3b569f60259e81019b837c23b0327d997c26bc0c
Author: Henry Castro <hcastro at collabora.com>
Date: Mon Aug 17 22:17:13 2015 -0400
LOK: add lok_preinit symbol
Change-Id: I9f23a6077046809083e254d4c79590b67b071fb3
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 48727d3..a33922f 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1101,6 +1101,17 @@ LibreOfficeKit *libreofficekit_hook(const char* install_path)
return libreofficekit_hook_2(install_path, NULL);
}
+#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE) && defined(DISABLE_DYNLOADING)
+__attribute__ ((visibility("default")))
+#else
+SAL_DLLPUBLIC_EXPORT
+#endif
+int lok_preinit()
+{
+ SAL_INFO("lok", "Hello World");
+ return 0;
+}
+
static void lo_destroy(LibreOfficeKit* pThis)
{
LibLibreOffice_Impl* pLib = static_cast<LibLibreOffice_Impl*>(pThis);
More information about the Libreoffice-commits
mailing list