From 83e191e25da8a508a2dafad339c0ee58e97c5c8b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 12 Dec 2013 11:09:57 +0100 Subject: Do not use C++-UNO internal static_type functions in client code ...use cppu::UnoType instead. Change-Id: I507914b30ef8acda910ee4ecc0589fd328eb6f31 --- svx/source/table/tabledesign.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'svx/source/table/tabledesign.cxx') diff --git a/svx/source/table/tabledesign.cxx b/svx/source/table/tabledesign.cxx index 904c0daef9d0..00e857bf459d 100644 --- a/svx/source/table/tabledesign.cxx +++ b/svx/source/table/tabledesign.cxx @@ -236,7 +236,7 @@ sal_Bool SAL_CALL TableDesignStyle::isUserDefined() throw (RuntimeException) sal_Bool SAL_CALL TableDesignStyle::isInUse() throw (RuntimeException) { ClearableMutexGuard aGuard( rBHelper.rMutex ); - OInterfaceContainerHelper * pContainer = rBHelper.getContainer( XModifyListener::static_type() ); + OInterfaceContainerHelper * pContainer = rBHelper.getContainer( cppu::UnoType::get() ); if( pContainer ) { Sequence< Reference< XInterface > > aListener( pContainer->getElements() ); @@ -334,7 +334,7 @@ sal_Bool SAL_CALL TableDesignStyle::hasByName( const OUString& rName ) throw(Ru Type SAL_CALL TableDesignStyle::getElementType() throw(RuntimeException) { - return XStyle::static_type(); + return cppu::UnoType::get(); } // ---------------------------------------------------------- @@ -430,7 +430,7 @@ void SAL_CALL TableDesignStyle::addModifyListener( const Reference< XModifyListe } else { - rBHelper.addListener( XModifyListener::static_type(), xListener ); + rBHelper.addListener( cppu::UnoType::get(), xListener ); } } @@ -438,7 +438,7 @@ void SAL_CALL TableDesignStyle::addModifyListener( const Reference< XModifyListe void SAL_CALL TableDesignStyle::removeModifyListener( const Reference< XModifyListener >& xListener ) throw (RuntimeException) { - rBHelper.removeListener( XModifyListener::static_type(), xListener ); + rBHelper.removeListener( cppu::UnoType::get(), xListener ); } //------------------------------------------------------------------------ @@ -447,7 +447,7 @@ void TableDesignStyle::notifyModifyListener() { MutexGuard aGuard( rBHelper.rMutex ); - OInterfaceContainerHelper * pContainer = rBHelper.getContainer( XModifyListener::static_type() ); + OInterfaceContainerHelper * pContainer = rBHelper.getContainer( cppu::UnoType::get() ); if( pContainer ) { EventObject aEvt( static_cast< OWeakObject * >( this ) ); @@ -558,7 +558,7 @@ sal_Bool SAL_CALL TableDesignFamily::hasByName( const OUString& aName ) throw(Ru Type SAL_CALL TableDesignFamily::getElementType() throw(RuntimeException) { - return XStyle::static_type(); + return cppu::UnoType::get(); } // ---------------------------------------------------------- -- cgit v1.2.3