summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-21 18:08:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-21 18:08:38 +0100
commit36e5fa003383c792ea5da66c1b47287507138590 (patch)
treef10a99b0425384bac516cf02cde3bf9b0b30515d /winaccessibility
parent91efe26d177b0686923b95b5c28cb208798f1df6 (diff)
Some more adaptions to cppu::supportsService
Change-Id: I0fa482b3303f339afabf5ed8f3e432b56c6590aa
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/service/msaaservice_impl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/winaccessibility/source/service/msaaservice_impl.cxx b/winaccessibility/source/service/msaaservice_impl.cxx
index e5e1231c0df3..950ef9b66cae 100644
--- a/winaccessibility/source/service/msaaservice_impl.cxx
+++ b/winaccessibility/source/service/msaaservice_impl.cxx
@@ -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);
}
/**