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
f6b23e16
Kaydet (Commit)
f6b23e16
authored
May 30, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
this is overly static + double check lock for little gain
üst
1a115037
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
76 deletions
+18
-76
servicemanager.cxx
stoc/source/servicemanager/servicemanager.cxx
+18
-76
No files found.
stoc/source/servicemanager/servicemanager.cxx
Dosyayı görüntüle @
f6b23e16
...
...
@@ -95,102 +95,44 @@ namespace stoc_bootstrap
{
Sequence
<
OUString
>
smgr_wrapper_getSupportedServiceNames
()
{
static
Sequence
<
OUString
>
*
pNames
=
0
;
if
(
!
pNames
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pNames
)
{
static
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.lang.MultiServiceFactory"
)
);
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.lang.MultiServiceFactory"
)
);
return
seqNames
;
}
OUString
smgr_wrapper_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.stoc.OServiceManagerWrapper"
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.stoc.OServiceManagerWrapper"
));
}
Sequence
<
OUString
>
smgr_getSupportedServiceNames
()
{
static
Sequence
<
OUString
>
*
pNames
=
0
;
if
(
!
pNames
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pNames
)
{
static
Sequence
<
OUString
>
seqNames
(
2
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.lang.MultiServiceFactory"
)
);
seqNames
.
getArray
()[
1
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.lang.ServiceManager"
)
);
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
2
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.lang.MultiServiceFactory"
)
);
seqNames
.
getArray
()[
1
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.lang.ServiceManager"
)
);
return
seqNames
;
}
OUString
smgr_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.stoc.OServiceManager"
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.stoc.OServiceManager"
));
}
Sequence
<
OUString
>
regsmgr_getSupportedServiceNames
()
{
static
Sequence
<
OUString
>
*
pNames
=
0
;
if
(
!
pNames
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pNames
)
{
static
Sequence
<
OUString
>
seqNames
(
2
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.lang.MultiServiceFactory"
));
seqNames
.
getArray
()[
1
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.lang.RegistryServiceManager"
));
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
2
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.lang.MultiServiceFactory"
));
seqNames
.
getArray
()[
1
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.lang.RegistryServiceManager"
));
return
seqNames
;
}
OUString
regsmgr_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.stoc.ORegistryServiceManager"
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.stoc.ORegistryServiceManager"
)
);
}
}
...
...
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