diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-12 11:09:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-12 11:10:10 +0100 |
commit | 83e191e25da8a508a2dafad339c0ee58e97c5c8b (patch) | |
tree | 41ffadeda7fcf325b0d0bdd5764fe4bd7282319e /toolkit/source/controls/tree | |
parent | 7bf2f528ef22f50aa167ba57f2e25d4452977060 (diff) |
Do not use C++-UNO internal static_type functions in client code
...use cppu::UnoType instead.
Change-Id: I507914b30ef8acda910ee4ecc0589fd328eb6f31
Diffstat (limited to 'toolkit/source/controls/tree')
-rw-r--r-- | toolkit/source/controls/tree/treedatamodel.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/controls/tree/treedatamodel.cxx b/toolkit/source/controls/tree/treedatamodel.cxx index c8859a202880..01fb0267a670 100644 --- a/toolkit/source/controls/tree/treedatamodel.cxx +++ b/toolkit/source/controls/tree/treedatamodel.cxx @@ -161,7 +161,7 @@ MutableTreeDataModel::~MutableTreeDataModel() void MutableTreeDataModel::broadcast( broadcast_type eType, const Reference< XTreeNode >& xParentNode, const Reference< XTreeNode >* pNodes, sal_Int32 nNodes ) { - ::cppu::OInterfaceContainerHelper* pIter = BrdcstHelper.getContainer( XTreeDataModelListener::static_type() ); + ::cppu::OInterfaceContainerHelper* pIter = BrdcstHelper.getContainer( cppu::UnoType<XTreeDataModelListener>::get() ); if( pIter ) { Reference< XInterface > xSource( static_cast< ::cppu::OWeakObject* >( this ) ); @@ -235,14 +235,14 @@ Reference< XTreeNode > SAL_CALL MutableTreeDataModel::getRoot( ) throw (Runtime void SAL_CALL MutableTreeDataModel::addTreeDataModelListener( const Reference< XTreeDataModelListener >& xListener ) throw (RuntimeException) { - BrdcstHelper.addListener( XTreeDataModelListener::static_type(), xListener ); + BrdcstHelper.addListener( cppu::UnoType<XTreeDataModelListener>::get(), xListener ); } //--------------------------------------------------------------------- void SAL_CALL MutableTreeDataModel::removeTreeDataModelListener( const Reference< XTreeDataModelListener >& xListener ) throw (RuntimeException) { - BrdcstHelper.removeListener( XTreeDataModelListener::static_type(), xListener ); + BrdcstHelper.removeListener( cppu::UnoType<XTreeDataModelListener>::get(), xListener ); } //--------------------------------------------------------------------- @@ -266,14 +266,14 @@ void SAL_CALL MutableTreeDataModel::dispose() throw (RuntimeException) void SAL_CALL MutableTreeDataModel::addEventListener( const Reference< XEventListener >& xListener ) throw (RuntimeException) { - BrdcstHelper.addListener( XEventListener::static_type(), xListener ); + BrdcstHelper.addListener( cppu::UnoType<XEventListener>::get(), xListener ); } //--------------------------------------------------------------------- void SAL_CALL MutableTreeDataModel::removeEventListener( const Reference< XEventListener >& xListener ) throw (RuntimeException) { - BrdcstHelper.removeListener( XEventListener::static_type(), xListener ); + BrdcstHelper.removeListener( cppu::UnoType<XEventListener>::get(), xListener ); } //--------------------------------------------------------------------- |