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
5c02bb0f
Kaydet (Commit)
5c02bb0f
authored
Eki 07, 2012
tarafından
Tor Lillqvist
Kaydeden (comit)
Tor Lillqvist
Eki 07, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
DISABLE_DYNLOADING fixes and minor cleanup
Change-Id: I08ce3523f259b1ace7c2a1a58b091b43a44a7d92
üst
8226b906
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
10 deletions
+30
-10
app.cxx
sfx2/source/appl/app.cxx
+28
-5
appserv.cxx
sfx2/source/appl/appserv.cxx
+2
-5
No files found.
sfx2/source/appl/app.cxx
Dosyayı görüntüle @
5c02bb0f
...
...
@@ -468,17 +468,22 @@ void SfxApplication::Invalidate( sal_uInt16 nId )
Invalidate_Impl
(
pFrame
->
GetBindings
(),
nId
);
}
#define DOSTRING( x ) #x
#define STRING( x ) DOSTRING( x )
#ifndef DISABLE_SCRIPTING
#ifndef DISABLE_DYNLOADING
typedef
long
(
SAL_CALL
*
basicide_handle_basic_error
)(
void
*
);
typedef
rtl_uString
*
(
SAL_CALL
*
basicide_choose_macro
)(
void
*
,
sal_Bool
,
rtl_uString
*
);
typedef
void
*
(
SAL_CALL
*
basicide_macro_organizer
)(
sal_Int16
);
extern
"C"
{
static
void
SAL_CALL
thisModule
()
{}
}
#else
extern
"C"
long
basicide_handle_basic_error
(
void
*
);
extern
"C"
void
*
basicide_macro_organizer
(
sal_Int16
);
#endif
#endif
IMPL_LINK
(
SfxApplication
,
GlobalBasicErrorHdl_Impl
,
StarBASIC
*
,
pStarBasic
)
...
...
@@ -487,6 +492,8 @@ IMPL_LINK( SfxApplication, GlobalBasicErrorHdl_Impl, StarBASIC*, pStarBasic )
(
void
)
pStarBasic
;
return
0
;
#else
#ifndef DISABLE_DYNLOADING
// get basctl dllname
static
::
rtl
::
OUString
aLibName
(
SVLIBRARY
(
"basctl"
)
);
...
...
@@ -501,7 +508,14 @@ IMPL_LINK( SfxApplication, GlobalBasicErrorHdl_Impl, StarBASIC*, pStarBasic )
// call basicide_handle_basic_error in basctl
long
nRet
=
pSymbol
?
pSymbol
(
pStarBasic
)
:
0
;
#else
long
nRet
=
basicide_handle_basic_error
(
pStarBasic
);
#endif
return
nRet
;
#endif
}
...
...
@@ -586,6 +600,8 @@ void SfxApplication::MacroOrganizer( sal_Int16 nTabId )
#ifdef DISABLE_SCRIPTING
(
void
)
nTabId
;
#else
#ifndef DISABLE_DYNLOADING
// get basctl dllname
static
::
rtl
::
OUString
aLibName
(
SVLIBRARY
(
"basctl"
)
);
...
...
@@ -597,8 +613,15 @@ void SfxApplication::MacroOrganizer( sal_Int16 nTabId )
::
rtl
::
OUString
aSymbol
(
"basicide_macro_organizer"
);
basicide_macro_organizer
pSymbol
=
(
basicide_macro_organizer
)
osl_getFunctionSymbol
(
handleMod
,
aSymbol
.
pData
);
// call basicide_
choose_macro
in basctl
// call basicide_
macro_organizer
in basctl
pSymbol
(
nTabId
);
#else
basicide_macro_organizer
(
nTabId
);
#endif
#endif
}
...
...
sfx2/source/appl/appserv.cxx
Dosyayı görüntüle @
5c02bb0f
...
...
@@ -836,14 +836,11 @@ void SfxApplication::MiscState_Impl(SfxItemSet &rSet)
#ifndef DISABLE_SCRIPTING
#ifndef DISABLE_DYNLOADING
typedef
rtl_uString
*
(
SAL_CALL
*
basicide_choose_macro
)(
XModel
*
,
sal_Bool
,
rtl_uString
*
);
typedef
void
(
SAL_CALL
*
basicide_macro_organizer
)(
sal_Int16
);
#define DOSTRING( x ) #x
#define STRING( x ) DOSTRING( x )
#ifndef DISABLE_DYNLOADING
extern
"C"
{
static
void
SAL_CALL
thisModule
()
{}
}
#else
...
...
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