diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:35:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:35:17 +0200 |
commit | e360c2a861cc98efab442c58e5c79dab3ac99b8e (patch) | |
tree | 15e3e3711f20c8663bca5ccce2c9d10ad9b74ddb /avmedia/source/macavf | |
parent | d246f474223f22b5aabd9732312f923255f111c3 (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I5321d1e0d29e3f74ae341feb9fba98f401be8358
Diffstat (limited to 'avmedia/source/macavf')
-rw-r--r-- | avmedia/source/macavf/window.mm | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/avmedia/source/macavf/window.mm b/avmedia/source/macavf/window.mm index ea1132bedba9..2f2cb722e527 100644 --- a/avmedia/source/macavf/window.mm +++ b/avmedia/source/macavf/window.mm @@ -191,7 +191,7 @@ void SAL_CALL Window::setFocus() void SAL_CALL Window::addWindowListener( const uno::Reference< awt::XWindowListener >& xListener ) throw (uno::RuntimeException) { - maListeners.addInterface( getCppuType( &xListener ), xListener ); + maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } // ------------------------------------------------------------------------------ @@ -199,7 +199,7 @@ void SAL_CALL Window::addWindowListener( const uno::Reference< awt::XWindowListe void SAL_CALL Window::removeWindowListener( const uno::Reference< awt::XWindowListener >& xListener ) throw (uno::RuntimeException) { - maListeners.removeInterface( getCppuType( &xListener ), xListener ); + maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } // ------------------------------------------------------------------------------ @@ -207,7 +207,7 @@ void SAL_CALL Window::removeWindowListener( const uno::Reference< awt::XWindowLi void SAL_CALL Window::addFocusListener( const uno::Reference< awt::XFocusListener >& xListener ) throw (uno::RuntimeException) { - maListeners.addInterface( getCppuType( &xListener ), xListener ); + maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } // ------------------------------------------------------------------------------ @@ -215,7 +215,7 @@ void SAL_CALL Window::addFocusListener( const uno::Reference< awt::XFocusListene void SAL_CALL Window::removeFocusListener( const uno::Reference< awt::XFocusListener >& xListener ) throw (uno::RuntimeException) { - maListeners.removeInterface( getCppuType( &xListener ), xListener ); + maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } // ------------------------------------------------------------------------------ @@ -223,7 +223,7 @@ void SAL_CALL Window::removeFocusListener( const uno::Reference< awt::XFocusList void SAL_CALL Window::addKeyListener( const uno::Reference< awt::XKeyListener >& xListener ) throw (uno::RuntimeException) { - maListeners.addInterface( getCppuType( &xListener ), xListener ); + maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } // ------------------------------------------------------------------------------ @@ -231,7 +231,7 @@ void SAL_CALL Window::addKeyListener( const uno::Reference< awt::XKeyListener >& void SAL_CALL Window::removeKeyListener( const uno::Reference< awt::XKeyListener >& xListener ) throw (uno::RuntimeException) { - maListeners.removeInterface( getCppuType( &xListener ), xListener ); + maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } // ------------------------------------------------------------------------------ @@ -239,7 +239,7 @@ void SAL_CALL Window::removeKeyListener( const uno::Reference< awt::XKeyListener void SAL_CALL Window::addMouseListener( const uno::Reference< awt::XMouseListener >& xListener ) throw (uno::RuntimeException) { - maListeners.addInterface( getCppuType( &xListener ), xListener ); + maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } // ------------------------------------------------------------------------------ @@ -247,7 +247,7 @@ void SAL_CALL Window::addMouseListener( const uno::Reference< awt::XMouseListene void SAL_CALL Window::removeMouseListener( const uno::Reference< awt::XMouseListener >& xListener ) throw (uno::RuntimeException) { - maListeners.removeInterface( getCppuType( &xListener ), xListener ); + maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } // ------------------------------------------------------------------------------ @@ -255,7 +255,7 @@ void SAL_CALL Window::removeMouseListener( const uno::Reference< awt::XMouseList void SAL_CALL Window::addMouseMotionListener( const uno::Reference< awt::XMouseMotionListener >& xListener ) throw (uno::RuntimeException) { - maListeners.addInterface( getCppuType( &xListener ), xListener ); + maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } // ------------------------------------------------------------------------------ @@ -263,7 +263,7 @@ void SAL_CALL Window::addMouseMotionListener( const uno::Reference< awt::XMouseM void SAL_CALL Window::removeMouseMotionListener( const uno::Reference< awt::XMouseMotionListener >& xListener ) throw (uno::RuntimeException) { - maListeners.removeInterface( getCppuType( &xListener ), xListener ); + maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } // ------------------------------------------------------------------------------ @@ -271,7 +271,7 @@ void SAL_CALL Window::removeMouseMotionListener( const uno::Reference< awt::XMou void SAL_CALL Window::addPaintListener( const uno::Reference< awt::XPaintListener >& xListener ) throw (uno::RuntimeException) { - maListeners.addInterface( getCppuType( &xListener ), xListener ); + maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } // ------------------------------------------------------------------------------ @@ -279,7 +279,7 @@ void SAL_CALL Window::addPaintListener( const uno::Reference< awt::XPaintListene void SAL_CALL Window::removePaintListener( const uno::Reference< awt::XPaintListener >& xListener ) throw (uno::RuntimeException) { - maListeners.removeInterface( getCppuType( &xListener ), xListener ); + maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } @@ -296,7 +296,7 @@ void SAL_CALL Window::dispose( ) void SAL_CALL Window::addEventListener( const uno::Reference< lang::XEventListener >& xListener ) throw (uno::RuntimeException) { - maListeners.addInterface( getCppuType( &xListener ), xListener ); + maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } // ------------------------------------------------------------------------------ @@ -304,7 +304,7 @@ void SAL_CALL Window::addEventListener( const uno::Reference< lang::XEventListen void SAL_CALL Window::removeEventListener( const uno::Reference< lang::XEventListener >& xListener ) throw (uno::RuntimeException) { - maListeners.removeInterface( getCppuType( &xListener ), xListener ); + maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } // XServiceInfo |