summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripting/source/stringresource/stringresource.cxx2
-rw-r--r--sd/source/ui/unoidl/unopage.cxx4
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