summaryrefslogtreecommitdiff
path: root/svx/source/table/tabledesign.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-12 11:09:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-12 11:10:10 +0100
commit83e191e25da8a508a2dafad339c0ee58e97c5c8b (patch)
tree41ffadeda7fcf325b0d0bdd5764fe4bd7282319e /svx/source/table/tabledesign.cxx
parent7bf2f528ef22f50aa167ba57f2e25d4452977060 (diff)
Do not use C++-UNO internal static_type functions in client code
...use cppu::UnoType instead. Change-Id: I507914b30ef8acda910ee4ecc0589fd328eb6f31
Diffstat (limited to 'svx/source/table/tabledesign.cxx')
-rw-r--r--svx/source/table/tabledesign.cxx12
1 files changed, 6 insertions, 6 deletions
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<XModifyListener>::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<XStyle>::get();
}
// ----------------------------------------------------------
@@ -430,7 +430,7 @@ void SAL_CALL TableDesignStyle::addModifyListener( const Reference< XModifyListe
}
else
{
- rBHelper.addListener( XModifyListener::static_type(), xListener );
+ rBHelper.addListener( cppu::UnoType<XModifyListener>::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<XModifyListener>::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<XModifyListener>::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<XStyle>::get();
}
// ----------------------------------------------------------