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
847494bc
Kaydet (Commit)
847494bc
authored
Ock 23, 2012
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
android: nasty hack to overcome unpleasantness of UNO bootstrapping
üst
91c7d943
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
bootstrap.cxx
cppuhelper/source/bootstrap.cxx
+11
-0
No files found.
cppuhelper/source/bootstrap.cxx
Dosyayı görüntüle @
847494bc
...
@@ -98,8 +98,19 @@ Bootstrap const & get_unorc() SAL_THROW( () )
...
@@ -98,8 +98,19 @@ Bootstrap const & get_unorc() SAL_THROW( () )
static
rtlBootstrapHandle
s_bstrap
=
0
;
static
rtlBootstrapHandle
s_bstrap
=
0
;
if
(
!
s_bstrap
)
if
(
!
s_bstrap
)
{
{
#ifdef ANDROID
// Wouldn't it be lovely to avoid this fugly hard-coding.
// The problem is that the 'create_boostrap_macro_expander_factory()'
// required for bootstrapping services, calls cppu::get_unorc directly
// instead of re-using the BoostrapHandle from:
// defaultBootstrap_InitialComponentContext
// and since rtlBootstrapHandle is not ref-counted doing anything
// clean here is hardish.
OUString
iniName
(
RTL_CONSTASCII_USTRINGPARAM
(
"file:///assets/program/unorc"
)
);
#else
OUString
iniName
(
OUString
iniName
(
get_this_libpath
()
+
OUSTR
(
"/"
SAL_CONFIGFILE
(
"uno"
))
);
get_this_libpath
()
+
OUSTR
(
"/"
SAL_CONFIGFILE
(
"uno"
))
);
#endif
rtlBootstrapHandle
bstrap
=
rtl_bootstrap_args_open
(
iniName
.
pData
);
rtlBootstrapHandle
bstrap
=
rtl_bootstrap_args_open
(
iniName
.
pData
);
ClearableMutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
ClearableMutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
...
...
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