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
c1abc2ec
Kaydet (Commit)
c1abc2ec
authored
Haz 01, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix up
üst
91cbb7b7
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
58 additions
and
277 deletions
+58
-277
unourl_resolver.cxx
remotebridges/source/unourl_resolver/unourl_resolver.cxx
+4
-24
crefl.cxx
stoc/source/corereflection/crefl.cxx
+4
-23
defaultregistry.cxx
stoc/source/defaultregistry/defaultregistry.cxx
+4
-23
implreg.cxx
stoc/source/implementationregistration/implreg.cxx
+3
-12
invocation.cxx
stoc/source/invocation/invocation.cxx
+4
-23
iafactory.cxx
stoc/source/invocation_adapterfactory/iafactory.cxx
+5
-24
javaloader.cxx
stoc/source/javaloader/javaloader.cxx
+8
-27
dllcomponentloader.cxx
stoc/source/loader/dllcomponentloader.cxx
+4
-23
namingservice.cxx
stoc/source/namingservice/namingservice.cxx
+4
-23
tdprovider.cxx
stoc/source/registry_tdprovider/tdprovider.cxx
+4
-23
access_controller.cxx
stoc/source/security/access_controller.cxx
+3
-3
file_policy.cxx
stoc/source/security/file_policy.cxx
+3
-3
tdmgr.cxx
stoc/source/tdmanager/tdmgr.cxx
+4
-23
convert.cxx
stoc/source/typeconv/convert.cxx
+4
-23
No files found.
remotebridges/source/unourl_resolver/unourl_resolver.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -63,34 +63,14 @@ namespace unourl_resolver
//--------------------------------------------------------------------------------------------------
Sequence
<
OUString
>
resolver_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
(
SERVICENAME
));
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICENAME
));
return
seqNames
;
}
OUString
resolver_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
));
}
//==================================================================================================
...
...
stoc/source/corereflection/crefl.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -62,33 +62,14 @@ static rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT;
static
Sequence
<
OUString
>
core_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
(
SERVICENAME
)
);
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICENAME
)
);
return
seqNames
;
}
static
OUString
core_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
));
}
//__________________________________________________________________________________________________
IdlReflectionServiceImpl
::
IdlReflectionServiceImpl
(
...
...
stoc/source/defaultregistry/defaultregistry.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -66,33 +66,14 @@ namespace stoc_bootstrap
{
Sequence
<
OUString
>
defreg_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
(
SERVICENAME
));
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICENAME
));
return
seqNames
;
}
OUString
defreg_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
));
}
}
...
...
stoc/source/implementationregistration/implreg.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -141,18 +141,9 @@ namespace stoc_bootstrap
{
Sequence
<
OUString
>
impreg_getSupportedServiceNames
()
{
static
Sequence
<
OUString
>
*
pNames
=
0
;
if
(
!
pNames
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pNames
)
{
static
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
stoc_impreg
::
spool
().
sServiceName
;
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
stoc_impreg
::
spool
().
sServiceName
;
return
seqNames
;
}
OUString
impreg_getImplementationName
()
...
...
stoc/source/invocation/invocation.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -82,33 +82,14 @@ static rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT;
static
Sequence
<
OUString
>
inv_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
(
SERVICENAME
));
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICENAME
));
return
seqNames
;
}
static
OUString
inv_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
));
}
// TODO: Zentral implementieren
...
...
stoc/source/invocation_adapterfactory/iafactory.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -76,34 +76,15 @@ static rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT;
static
Sequence
<
OUString
>
invadp_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
(
SERVICENAME
));
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICENAME
));
return
seqNames
;
}
static
OUString
invadp_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
));
}
struct
hash_ptr
...
...
stoc/source/javaloader/javaloader.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -86,37 +86,18 @@ static Mutex & getInitMutex();
static
Sequence
<
OUString
>
loader_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.loader.Java"
)
);
seqNames
.
getArray
()[
1
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.loader.Java2"
)
);
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
2
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.loader.Java"
)
);
seqNames
.
getArray
()[
1
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.loader.Java2"
)
);
return
seqNames
;
}
static
OUString
loader_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.stoc.JavaComponentLoader"
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.stoc.JavaComponentLoader"
)
);
}
class
JavaComponentLoader
:
public
WeakImplHelper2
<
XImplementationLoader
,
XServiceInfo
>
...
...
stoc/source/loader/dllcomponentloader.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -73,33 +73,14 @@ namespace stoc_bootstrap
{
Sequence
<
OUString
>
loader_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
(
SERVICENAME
));
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICENAME
));
return
seqNames
;
}
OUString
loader_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
));
}
}
...
...
stoc/source/namingservice/namingservice.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -63,33 +63,14 @@ static rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT;
static
Sequence
<
OUString
>
ns_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
(
SERVICENAME
));
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICENAME
));
return
seqNames
;
}
static
OUString
ns_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
));
}
struct
equalOWString_Impl
...
...
stoc/source/registry_tdprovider/tdprovider.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -68,33 +68,14 @@ namespace stoc_bootstrap
{
uno
::
Sequence
<
OUString
>
rdbtdp_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
(
SERVICENAME
));
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICENAME
));
return
seqNames
;
}
OUString
rdbtdp_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
));
}
}
...
...
stoc/source/security/access_controller.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -1043,9 +1043,9 @@ Reference< XInterface > SAL_CALL ac_create(
//--------------------------------------------------------------------------------------------------
Sequence
<
OUString
>
ac_getSupportedServiceNames
()
SAL_THROW
(
()
)
{
static
OUString
s_serviceName
=
OUSTR
(
SERVICE_NAME
);
static
Sequence
<
OUString
>
s_serviceNames
=
Sequence
<
OUString
>
(
&
s_serviceName
,
1
);
return
s_serviceNames
;
Sequence
<
OUString
>
aSNS
(
1
);
aSNS
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICE_NAME
)
);
return
aSNS
;
}
//--------------------------------------------------------------------------------------------------
OUString
ac_getImplementationName
()
SAL_THROW
(
()
)
...
...
stoc/source/security/file_policy.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -589,9 +589,9 @@ Reference< XInterface > SAL_CALL filepolicy_create(
//--------------------------------------------------------------------------------------------------
Sequence
<
OUString
>
filepolicy_getSupportedServiceNames
()
SAL_THROW
(
()
)
{
static
OUString
s_serviceName
=
OUSTR
(
SERVICE_NAME
);
static
Sequence
<
OUString
>
s_serviceNames
=
Sequence
<
OUString
>
(
&
s_serviceName
,
1
);
return
s_serviceNames
;
Sequence
<
OUString
>
aSNS
(
1
);
aSNS
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICE_NAME
)
);
return
aSNS
;
}
//--------------------------------------------------------------------------------------------------
OUString
filepolicy_getImplementationName
()
SAL_THROW
(
()
)
...
...
stoc/source/tdmanager/tdmgr.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -86,33 +86,14 @@ namespace stoc_bootstrap
{
Sequence
<
OUString
>
SAL_CALL
tdmgr_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
(
SERVICENAME
));
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICENAME
));
return
seqNames
;
}
OUString
SAL_CALL
tdmgr_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
));
}
}
...
...
stoc/source/typeconv/convert.cxx
Dosyayı görüntüle @
c1abc2ec
...
...
@@ -68,33 +68,14 @@ namespace stoc_services
{
Sequence
<
OUString
>
tcv_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
(
SERVICENAME
));
pNames
=
&
seqNames
;
}
}
return
*
pNames
;
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICENAME
));
return
seqNames
;
}
OUString
tcv_getImplementationName
()
{
static
OUString
*
pImplName
=
0
;
if
(
!
pImplName
)
{
MutexGuard
guard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pImplName
)
{
static
OUString
implName
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
)
);
pImplName
=
&
implName
;
}
}
return
*
pImplName
;
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
IMPLNAME
));
}
}
...
...
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