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
36e5fa00
Kaydet (Commit)
36e5fa00
authored
Kas 21, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more adaptions to cppu::supportsService
Change-Id: I0fa482b3303f339afabf5ed8f3e432b56c6590aa
üst
91efe26d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
9 deletions
+13
-9
configurationprovider.cxx
configmgr/source/configurationprovider.cxx
+3
-2
configurationregistry.cxx
configmgr/source/configurationregistry.cxx
+2
-1
readonlyaccess.cxx
configmgr/source/readonlyaccess.cxx
+3
-2
readwriteaccess.cxx
configmgr/source/readwriteaccess.cxx
+3
-2
msaaservice_impl.cxx
winaccessibility/source/service/msaaservice_impl.cxx
+2
-2
No files found.
configmgr/source/configurationprovider.cxx
Dosyayı görüntüle @
36e5fa00
...
...
@@ -48,6 +48,7 @@
#include "cppuhelper/factory.hxx"
#include "cppuhelper/implbase2.hxx"
#include "cppuhelper/interfacecontainer.hxx"
#include "cppuhelper/supportsservice.hxx"
#include "cppuhelper/weak.hxx"
#include "osl/mutex.hxx"
#include "sal/types.h"
...
...
@@ -109,7 +110,7 @@ private:
virtual
sal_Bool
SAL_CALL
supportsService
(
OUString
const
&
ServiceName
)
throw
(
css
::
uno
::
RuntimeException
)
{
return
ServiceName
==
getSupportedServiceNames
()[
0
];
}
//TODO
{
return
cppu
::
supportsService
(
this
,
ServiceName
);
}
virtual
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
()
throw
(
css
::
uno
::
RuntimeException
)
...
...
@@ -373,7 +374,7 @@ private:
virtual
sal_Bool
SAL_CALL
supportsService
(
OUString
const
&
ServiceName
)
throw
(
css
::
uno
::
RuntimeException
)
{
return
ServiceName
==
getSupportedServiceNames
()[
0
];
}
//TODO
{
return
cppu
::
supportsService
(
this
,
ServiceName
);
}
virtual
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
()
throw
(
css
::
uno
::
RuntimeException
)
...
...
configmgr/source/configurationregistry.cxx
Dosyayı görüntüle @
36e5fa00
...
...
@@ -51,6 +51,7 @@
#include "cppu/unotype.hxx"
#include "cppuhelper/implbase1.hxx"
#include "cppuhelper/implbase3.hxx"
#include "cppuhelper/supportsservice.hxx"
#include "cppuhelper/weak.hxx"
#include "osl/mutex.hxx"
#include "rtl/ustring.h"
...
...
@@ -85,7 +86,7 @@ private:
virtual
sal_Bool
SAL_CALL
supportsService
(
OUString
const
&
ServiceName
)
throw
(
css
::
uno
::
RuntimeException
)
{
return
ServiceName
==
getSupportedServiceNames
()[
0
];
}
//TODO
{
return
cppu
::
supportsService
(
this
,
ServiceName
);
}
virtual
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
()
throw
(
css
::
uno
::
RuntimeException
)
...
...
configmgr/source/readonlyaccess.cxx
Dosyayı görüntüle @
36e5fa00
...
...
@@ -24,6 +24,7 @@
#include "com/sun/star/uno/XComponentContext.hpp"
#include "com/sun/star/uno/XInterface.hpp"
#include "cppuhelper/implbase3.hxx"
#include "cppuhelper/supportsservice.hxx"
#include "cppuhelper/weak.hxx"
#include "osl/mutex.hxx"
#include "rtl/ref.hxx"
...
...
@@ -58,9 +59,9 @@ private:
throw
(
css
::
uno
::
RuntimeException
)
{
return
read_only_access
::
getImplementationName
();
}
virtual
sal_Bool
SAL_CALL
supportsService
(
OUString
const
&
)
virtual
sal_Bool
SAL_CALL
supportsService
(
OUString
const
&
ServiceName
)
throw
(
css
::
uno
::
RuntimeException
)
{
return
false
;
}
{
return
cppu
::
supportsService
(
this
,
ServiceName
)
;
}
virtual
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
()
throw
(
css
::
uno
::
RuntimeException
)
...
...
configmgr/source/readwriteaccess.cxx
Dosyayı görüntüle @
36e5fa00
...
...
@@ -26,6 +26,7 @@
#include "com/sun/star/uno/XInterface.hpp"
#include "com/sun/star/util/ChangesSet.hpp"
#include "cppuhelper/implbase3.hxx"
#include "cppuhelper/supportsservice.hxx"
#include "cppuhelper/weak.hxx"
#include "osl/mutex.hxx"
#include "rtl/ref.hxx"
...
...
@@ -60,9 +61,9 @@ private:
throw
(
css
::
uno
::
RuntimeException
)
{
return
read_write_access
::
getImplementationName
();
}
virtual
sal_Bool
SAL_CALL
supportsService
(
OUString
const
&
)
virtual
sal_Bool
SAL_CALL
supportsService
(
OUString
const
&
ServiceName
)
throw
(
css
::
uno
::
RuntimeException
)
{
return
false
;
}
{
return
cppu
::
supportsService
(
this
,
ServiceName
)
;
}
virtual
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
()
throw
(
css
::
uno
::
RuntimeException
)
...
...
winaccessibility/source/service/msaaservice_impl.cxx
Dosyayı görüntüle @
36e5fa00
...
...
@@ -21,6 +21,7 @@
#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/accessibility/XMSAAService.hpp>
...
...
@@ -130,8 +131,7 @@ OUString MSAAServiceImpl::getImplementationName() throw (RuntimeException)
*/
sal_Bool
MSAAServiceImpl
::
supportsService
(
OUString
const
&
serviceName
)
throw
(
RuntimeException
)
{
// this object only supports one service, so the test is simple
return
serviceName
==
"com.sun.star.accessibility.MSAAService"
;
return
cppu
::
supportsService
(
this
,
serviceName
);
}
/**
...
...
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