diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-21 18:08:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-21 18:08:38 +0100 |
commit | 36e5fa003383c792ea5da66c1b47287507138590 (patch) | |
tree | f10a99b0425384bac516cf02cde3bf9b0b30515d /configmgr/source/readwriteaccess.cxx | |
parent | 91efe26d177b0686923b95b5c28cb208798f1df6 (diff) |
Some more adaptions to cppu::supportsService
Change-Id: I0fa482b3303f339afabf5ed8f3e432b56c6590aa
Diffstat (limited to 'configmgr/source/readwriteaccess.cxx')
-rw-r--r-- | configmgr/source/readwriteaccess.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configmgr/source/readwriteaccess.cxx b/configmgr/source/readwriteaccess.cxx index d4974fd2a76c..d9352892411e 100644 --- a/configmgr/source/readwriteaccess.cxx +++ b/configmgr/source/readwriteaccess.cxx @@ -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) |