[Libreoffice-commits] core.git: scripting/source sd/source
Donizete Waterkemper
dwater2 at gmail.com
Mon Mar 3 13:54:06 PST 2014
scripting/source/stringresource/stringresource.cxx | 2 +-
sd/source/ui/unoidl/unopage.cxx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit c4cff5a6452c05c797742327f57bb682fa5379ce
Author: Donizete Waterkemper <dwater2 at gmail.com>
Date: Mon Mar 3 17:22:15 2014 -0300
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 at libreoffice.org>
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx
index dc114f2..39a42a7 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 2953e27..09cdc3f 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
More information about the Libreoffice-commits
mailing list