diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-20 22:41:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-20 22:41:00 +0200 |
commit | a242f53c0435d270ce2297acaf80dba0775dbd92 (patch) | |
tree | 0cb024bc790e0ff7dd9b6af0d10befad79e3816a /stoc/source/uriproc/ExternalUriReferenceTranslator.cxx | |
parent | 68c3efccbee39a036895275e5cc4f483ec6fcff7 (diff) |
Clean up stoc::uriproc::supportsService
Change-Id: I1f324aae149e766d4755dc06ac5793c218ed5cf7
Diffstat (limited to 'stoc/source/uriproc/ExternalUriReferenceTranslator.cxx')
-rw-r--r-- | stoc/source/uriproc/ExternalUriReferenceTranslator.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx index fde82194d410..5f758873cc02 100644 --- a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx +++ b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx @@ -20,8 +20,6 @@ #include "stocservices.hxx" -#include "supportsService.hxx" - #include "com/sun/star/lang/XServiceInfo.hpp" #include "com/sun/star/uno/Exception.hpp" #include "com/sun/star/uno/Reference.hxx" @@ -31,6 +29,7 @@ #include "com/sun/star/uno/XInterface.hpp" #include "com/sun/star/uri/XExternalUriReferenceTranslator.hpp" #include "cppuhelper/implbase2.hxx" +#include "cppuhelper/supportsservice.hxx" #include "cppuhelper/weak.hxx" #include "osl/thread.h" #include "rtl/string.h" @@ -89,8 +88,7 @@ OUString Translator::getImplementationName() sal_Bool Translator::supportsService(OUString const & serviceName) throw (css::uno::RuntimeException) { - return stoc::uriproc::supportsService( - getSupportedServiceNames(), serviceName); + return cppu::supportsService(this, serviceName); } css::uno::Sequence< OUString > Translator::getSupportedServiceNames() |