include/LibreOfficeKit/LibreOfficeKitGtk.h | 1 - include/LibreOfficeKit/LibreOfficeKitInit.h | 14 +------------- 2 files changed, 1 insertion(+), 14 deletions(-)
New commits: commit 440f4b355e81166a0e4218726a4351e87043549c Author: Tor Lillqvist <[email protected]> Date: Mon Feb 2 11:13:13 2015 +0100 Kill superfluous vertical whitespace Change-Id: I97ec8fa7849540c86ea99633bd74fb71ecdb3108 diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h index dc1eab3..eedd2de 100644 --- a/include/LibreOfficeKit/LibreOfficeKitGtk.h +++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h @@ -25,7 +25,6 @@ extern "C" #define LOK_DOCVIEW_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, lok_docview_get_type(), LOKDocViewClass) #define IS_LOK_DOCVIEW(obj) GTK_CHECK_TYPE (obj, lok_docview_get_type()) - typedef struct _LOKDocView LOKDocView; typedef struct _LOKDocViewClass LOKDocViewClass; diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h index 8749e49..b6552a2 100644 --- a/include/LibreOfficeKit/LibreOfficeKitInit.h +++ b/include/LibreOfficeKit/LibreOfficeKitInit.h @@ -23,7 +23,6 @@ extern "C" #include <stdlib.h> #include <string.h> - #ifndef _WIN32 #include "dlfcn.h" #ifdef _AIX @@ -38,13 +37,11 @@ extern "C" return dlopen(pFN, RTLD_LAZY); } - void *_dlsym(void *Hnd, const char *pName) { return dlsym(Hnd, pName); } - int _dlclose(void *Hnd) { return dlclose(Hnd); @@ -55,7 +52,6 @@ extern "C" (void)pPath; } - #else #include <windows.h> @@ -64,19 +60,16 @@ extern "C" #define SEPERATOR '\\' #define UNOPATH "\\..\\URE\\bin" - void *_dlopen(const char *pFN) { return (void *) LoadLibrary(pFN); } - void *_dlsym(void *Hnd, const char *pName) { return GetProcAddress((HINSTANCE) Hnd, pName); } - int _dlclose(void *Hnd) { return FreeLibrary((HINSTANCE) Hnd); @@ -119,13 +112,8 @@ extern "C" } #endif - - - - typedef LibreOfficeKit *(HookFunction)( const char *install_path); - static LibreOfficeKit *lok_init( const char *install_path ) { char *imp_lib; @@ -147,7 +135,7 @@ static LibreOfficeKit *lok_init( const char *install_path ) strcpy(imp_lib, install_path); - extendUnoPath(install_path); + extendUnoPath(install_path); imp_lib[partial_length++] = SEPERATOR; strcpy(imp_lib + partial_length, TARGET_LIB); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
