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/VndSunStarPkgUrlReferenceFactory.cxx | |
parent | 68c3efccbee39a036895275e5cc4f483ec6fcff7 (diff) |
Clean up stoc::uriproc::supportsService
Change-Id: I1f324aae149e766d4755dc06ac5793c218ed5cf7
Diffstat (limited to 'stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx')
-rw-r--r-- | stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx index 2dd5ac6f472d..88d5883570f8 100644 --- a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx +++ b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.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" @@ -34,6 +32,7 @@ #include "com/sun/star/uri/XUriReferenceFactory.hpp" #include "com/sun/star/uri/XVndSunStarPkgUrlReferenceFactory.hpp" #include "cppuhelper/implbase2.hxx" +#include "cppuhelper/supportsservice.hxx" #include "cppuhelper/weak.hxx" #include "rtl/string.h" #include "rtl/textenc.h" @@ -89,8 +88,7 @@ OUString Factory::getImplementationName() sal_Bool Factory::supportsService(OUString const & serviceName) throw (css::uno::RuntimeException) { - return stoc::uriproc::supportsService( - getSupportedServiceNames(), serviceName); + return cppu::supportsService(this, serviceName); } css::uno::Sequence< OUString > Factory::getSupportedServiceNames() |