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
eb13dcf4
Kaydet (Commit)
eb13dcf4
authored
Şub 06, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
We don't need this macro; we can safely pass const char* as-is.
üst
d0d9c819
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
callform.cxx
sc/source/core/tool/callform.cxx
+7
-12
No files found.
sc/source/core/tool/callform.cxx
Dosyayı görüntüle @
eb13dcf4
...
...
@@ -88,11 +88,6 @@ typedef void (CALLTYPE* FARPROC) ( void );
#define ADVICE "Advice"
#define UNADVICE "Unadvice"
#define LIBFUNCNAME( name ) \
(String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( name ) ))
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
FuncData
::
FuncData
(
const
rtl
::
OUString
&
rIName
)
:
pModuleData
(
NULL
),
aInternalName
(
rIName
),
...
...
@@ -234,13 +229,13 @@ bool InitExternalFunc(const rtl::OUString& rModuleName)
osl
::
Module
*
pLib
=
new
osl
::
Module
(
aNP
);
if
(
pLib
->
is
())
{
FARPROC
fpGetCount
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
LIBFUNCNAME
(
GETFUNCTIONCOUNT
)
);
FARPROC
fpGetData
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
LIBFUNCNAME
(
GETFUNCTIONDATA
)
);
FARPROC
fpGetCount
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
GETFUNCTIONCOUNT
);
FARPROC
fpGetData
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
GETFUNCTIONDATA
);
if
((
fpGetCount
!=
NULL
)
&&
(
fpGetData
!=
NULL
))
{
FARPROC
fpIsAsync
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
LIBFUNCNAME
(
ISASYNC
)
);
FARPROC
fpAdvice
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
LIBFUNCNAME
(
ADVICE
)
);
FARPROC
fpSetLanguage
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
LIBFUNCNAME
(
SETLANGUAGE
)
);
FARPROC
fpIsAsync
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
ISASYNC
);
FARPROC
fpAdvice
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
ADVICE
);
FARPROC
fpSetLanguage
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
SETLANGUAGE
);
if
(
fpSetLanguage
)
{
LanguageType
eLanguage
=
Application
::
GetSettings
().
GetUILanguage
();
...
...
@@ -410,7 +405,7 @@ bool FuncData::Unadvice( double nHandle )
{
bool
bRet
=
false
;
osl
::
Module
*
pLib
=
pModuleData
->
GetInstance
();
FARPROC
fProc
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
LIBFUNCNAME
(
UNADVICE
)
);
FARPROC
fProc
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
UNADVICE
);
if
(
fProc
!=
NULL
)
{
((
::
Unadvice
)
fProc
)(
nHandle
);
...
...
@@ -432,7 +427,7 @@ bool FuncData::getParamDesc( ::rtl::OUString& aName, ::rtl::OUString& aDesc, sal
if
(
nParam
<=
nParamCount
)
{
osl
::
Module
*
pLib
=
pModuleData
->
GetInstance
();
FARPROC
fProc
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
LIBFUNCNAME
(
GETPARAMDESC
)
);
FARPROC
fProc
=
(
FARPROC
)
pLib
->
getFunctionSymbol
(
GETPARAMDESC
);
if
(
fProc
!=
NULL
)
{
sal_Char
pcName
[
256
];
...
...
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