summaryrefslogtreecommitdiff
path: root/avmedia
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
parentd246f474223f22b5aabd9732312f923255f111c3 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I5321d1e0d29e3f74ae341feb9fba98f401be8358
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/macavf/window.mm28
-rw-r--r--avmedia/source/quicktime/window.mm28
-rw-r--r--avmedia/source/win/window.cxx28
3 files changed, 42 insertions, 42 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
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
diff --git a/avmedia/source/win/window.cxx b/avmedia/source/win/window.cxx
index 7ba550ac36d5..c6823db8cd56 100644
--- a/avmedia/source/win/window.cxx
+++ b/avmedia/source/win/window.cxx
@@ -444,73 +444,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 );
}
void SAL_CALL Window::dispose( )
@@ -521,13 +521,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 );
}
void Window::fireMousePressedEvent( const ::com::sun::star::awt::MouseEvent& rEvt )