diff options
author | Donizete Waterkemper <dwater2@gmail.com> | 2014-03-03 17:22:15 -0300 |
---|---|---|
committer | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2014-03-03 15:53:46 -0600 |
commit | c4cff5a6452c05c797742327f57bb682fa5379ce (patch) | |
tree | 43362a98bc5a29aafd4a8a4980c19ec89fa11a7f | |
parent | 115ae1259564a51a14a3363a00717b09882d55bf (diff) |
fdo#54938: Convert some places to use cppu::supportsService
Change-Id: Ib941c6ec82d81b1da815561eee87ee91dc8de200
Reviewed-on: https://gerrit.libreoffice.org/8443
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
-rw-r--r-- | scripting/source/stringresource/stringresource.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unopage.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index dc114f2f683d..39a42a7cf0d2 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -788,7 +788,7 @@ OUString StringResourcePersistenceImpl::getImplementationName( ) sal_Bool StringResourcePersistenceImpl::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception) { - return StringResourceImpl::supportsService( rServiceName ); + return cppu::supportsService( this, rServiceName ); } diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 2953e27a0c5b..09cdc3fc5760 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -2243,7 +2243,7 @@ Sequence< OUString > SAL_CALL SdDrawPage::getSupportedServiceNames() throw(uno:: sal_Bool SAL_CALL SdDrawPage::supportsService( const OUString& ServiceName ) throw(uno::RuntimeException, std::exception) { - return SdGenericDrawPage::supportsService( ServiceName ); + return cppu::supportsService( this, ServiceName ); } // XNamed @@ -2799,7 +2799,7 @@ Sequence< OUString > SAL_CALL SdMasterPage::getSupportedServiceNames() throw(uno sal_Bool SAL_CALL SdMasterPage::supportsService( const OUString& ServiceName ) throw(uno::RuntimeException, std::exception) { - return SdGenericDrawPage::supportsService( ServiceName ); + return cppu::supportsService( this, ServiceName ); } // XElementAccess |