summaryrefslogtreecommitdiff
path: root/avmedia/source/quicktime
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:35:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:35:17 +0200
commite360c2a861cc98efab442c58e5c79dab3ac99b8e (patch)
tree15e3e3711f20c8663bca5ccce2c9d10ad9b74ddb /avmedia/source/quicktime
parentd246f474223f22b5aabd9732312f923255f111c3 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I5321d1e0d29e3f74ae341feb9fba98f401be8358
Diffstat (limited to 'avmedia/source/quicktime')
-rw-r--r--avmedia/source/quicktime/window.mm28
1 files changed, 14 insertions, 14 deletions
diff --git a/avmedia/source/quicktime/window.mm b/avmedia/source/quicktime/window.mm
index 90092addacc4..d365e83f4f90 100644
--- a/avmedia/source/quicktime/window.mm
+++ b/avmedia/source/quicktime/window.mm
@@ -168,73 +168,73 @@ 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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
// XComponent
@@ -247,13 +247,13 @@ 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 );
}
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