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/grid/defaultgriddatamodel.cxx | |
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/grid/defaultgriddatamodel.cxx')
-rw-r--r-- | toolkit/source/controls/grid/defaultgriddatamodel.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/controls/grid/defaultgriddatamodel.cxx b/toolkit/source/controls/grid/defaultgriddatamodel.cxx index b7f212153248..00e0bc502530 100644 --- a/toolkit/source/controls/grid/defaultgriddatamodel.cxx +++ b/toolkit/source/controls/grid/defaultgriddatamodel.cxx @@ -75,7 +75,7 @@ namespace toolkit void DefaultGridDataModel::broadcast( GridDataEvent const & i_event, void ( SAL_CALL XGridDataListener::*i_listenerMethod )( GridDataEvent const & ), ::comphelper::ComponentGuard & i_instanceLock ) { - ::cppu::OInterfaceContainerHelper* pListeners = rBHelper.getContainer( XGridDataListener::static_type() ); + ::cppu::OInterfaceContainerHelper* pListeners = rBHelper.getContainer( cppu::UnoType<XGridDataListener>::get() ); if ( !pListeners ) return; @@ -391,13 +391,13 @@ namespace toolkit //------------------------------------------------------------------------------------------------------------------ void SAL_CALL DefaultGridDataModel::addGridDataListener( const Reference< grid::XGridDataListener >& i_listener ) throw (RuntimeException) { - rBHelper.addListener( XGridDataListener::static_type(), i_listener ); + rBHelper.addListener( cppu::UnoType<XGridDataListener>::get(), i_listener ); } //------------------------------------------------------------------------------------------------------------------ void SAL_CALL DefaultGridDataModel::removeGridDataListener( const Reference< grid::XGridDataListener >& i_listener ) throw (RuntimeException) { - rBHelper.removeListener( XGridDataListener::static_type(), i_listener ); + rBHelper.removeListener( cppu::UnoType<XGridDataListener>::get(), i_listener ); } //------------------------------------------------------------------------------------------------------------------ |