[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - include/LibreOfficeKit
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Nov 5 12:00:39 UTC 2018
include/LibreOfficeKit/LibreOfficeKitInit.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit ca625e6c5387dbe1101b3d94f61f80fd5b8275fc
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Nov 2 23:54:38 2018 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Mon Nov 5 12:59:58 2018 +0100
No need to mark libreofficekit_hook_2 with default visibility
Also, the declaration is needed only for for iOS
Change-Id: Ib7b54ebed1c66324c79c116bd4d1e08ebaa1eac9
Reviewed-on: https://gerrit.libreoffice.org/62868
Reviewed-by: Tor Lillqvist <tml at collabora.com>
Tested-by: Tor Lillqvist <tml at collabora.com>
diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h
index cce3e8f0343c..91c30729c7cc 100644
--- a/include/LibreOfficeKit/LibreOfficeKitInit.h
+++ b/include/LibreOfficeKit/LibreOfficeKitInit.h
@@ -250,8 +250,9 @@ typedef LibreOfficeKit *(LokHookFunction2)( const char *install_path, const char
typedef int (LokHookPreInit) ( const char *install_path, const char *user_profile_url );
-extern __attribute__ ((visibility("default")))
- LibreOfficeKit *libreofficekit_hook_2(const char* install_path, const char* user_profile_path);
+#if defined(IOS)
+LibreOfficeKit *libreofficekit_hook_2(const char* install_path, const char* user_profile_path);
+#endif
static LibreOfficeKit *lok_init_2( const char *install_path, const char *user_profile_url )
{
More information about the Libreoffice-commits
mailing list