Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
440f4b35
Kaydet (Commit)
440f4b35
authored
Şub 02, 2015
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Kill superfluous vertical whitespace
Change-Id: I97ec8fa7849540c86ea99633bd74fb71ecdb3108
üst
d1ea457d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
14 deletions
+1
-14
LibreOfficeKitGtk.h
include/LibreOfficeKit/LibreOfficeKitGtk.h
+0
-1
LibreOfficeKitInit.h
include/LibreOfficeKit/LibreOfficeKitInit.h
+1
-13
No files found.
include/LibreOfficeKit/LibreOfficeKitGtk.h
Dosyayı görüntüle @
440f4b35
...
@@ -25,7 +25,6 @@ extern "C"
...
@@ -25,7 +25,6 @@ extern "C"
#define LOK_DOCVIEW_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, lok_docview_get_type(), LOKDocViewClass)
#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())
#define IS_LOK_DOCVIEW(obj) GTK_CHECK_TYPE (obj, lok_docview_get_type())
typedef
struct
_LOKDocView
LOKDocView
;
typedef
struct
_LOKDocView
LOKDocView
;
typedef
struct
_LOKDocViewClass
LOKDocViewClass
;
typedef
struct
_LOKDocViewClass
LOKDocViewClass
;
...
...
include/LibreOfficeKit/LibreOfficeKitInit.h
Dosyayı görüntüle @
440f4b35
...
@@ -23,7 +23,6 @@ extern "C"
...
@@ -23,7 +23,6 @@ extern "C"
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#ifndef _WIN32
#ifndef _WIN32
#include "dlfcn.h"
#include "dlfcn.h"
#ifdef _AIX
#ifdef _AIX
...
@@ -38,13 +37,11 @@ extern "C"
...
@@ -38,13 +37,11 @@ extern "C"
return
dlopen
(
pFN
,
RTLD_LAZY
);
return
dlopen
(
pFN
,
RTLD_LAZY
);
}
}
void
*
_dlsym
(
void
*
Hnd
,
const
char
*
pName
)
void
*
_dlsym
(
void
*
Hnd
,
const
char
*
pName
)
{
{
return
dlsym
(
Hnd
,
pName
);
return
dlsym
(
Hnd
,
pName
);
}
}
int
_dlclose
(
void
*
Hnd
)
int
_dlclose
(
void
*
Hnd
)
{
{
return
dlclose
(
Hnd
);
return
dlclose
(
Hnd
);
...
@@ -55,7 +52,6 @@ extern "C"
...
@@ -55,7 +52,6 @@ extern "C"
(
void
)
pPath
;
(
void
)
pPath
;
}
}
#else
#else
#include <windows.h>
#include <windows.h>
...
@@ -64,19 +60,16 @@ extern "C"
...
@@ -64,19 +60,16 @@ extern "C"
#define SEPERATOR '\\'
#define SEPERATOR '\\'
#define UNOPATH "\\..\\URE\\bin"
#define UNOPATH "\\..\\URE\\bin"
void
*
_dlopen
(
const
char
*
pFN
)
void
*
_dlopen
(
const
char
*
pFN
)
{
{
return
(
void
*
)
LoadLibrary
(
pFN
);
return
(
void
*
)
LoadLibrary
(
pFN
);
}
}
void
*
_dlsym
(
void
*
Hnd
,
const
char
*
pName
)
void
*
_dlsym
(
void
*
Hnd
,
const
char
*
pName
)
{
{
return
GetProcAddress
((
HINSTANCE
)
Hnd
,
pName
);
return
GetProcAddress
((
HINSTANCE
)
Hnd
,
pName
);
}
}
int
_dlclose
(
void
*
Hnd
)
int
_dlclose
(
void
*
Hnd
)
{
{
return
FreeLibrary
((
HINSTANCE
)
Hnd
);
return
FreeLibrary
((
HINSTANCE
)
Hnd
);
...
@@ -119,13 +112,8 @@ extern "C"
...
@@ -119,13 +112,8 @@ extern "C"
}
}
#endif
#endif
typedef
LibreOfficeKit
*
(
HookFunction
)(
const
char
*
install_path
);
typedef
LibreOfficeKit
*
(
HookFunction
)(
const
char
*
install_path
);
static
LibreOfficeKit
*
lok_init
(
const
char
*
install_path
)
static
LibreOfficeKit
*
lok_init
(
const
char
*
install_path
)
{
{
char
*
imp_lib
;
char
*
imp_lib
;
...
@@ -147,7 +135,7 @@ static LibreOfficeKit *lok_init( const char *install_path )
...
@@ -147,7 +135,7 @@ static LibreOfficeKit *lok_init( const char *install_path )
strcpy
(
imp_lib
,
install_path
);
strcpy
(
imp_lib
,
install_path
);
extendUnoPath
(
install_path
);
extendUnoPath
(
install_path
);
imp_lib
[
partial_length
++
]
=
SEPERATOR
;
imp_lib
[
partial_length
++
]
=
SEPERATOR
;
strcpy
(
imp_lib
+
partial_length
,
TARGET_LIB
);
strcpy
(
imp_lib
+
partial_length
,
TARGET_LIB
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment