loplugin:unoquery (clang-cl)

Change-Id: If66b07c8e9097698ba9ed774e04ef5b55574ba94
Reviewed-on: https://gerrit.libreoffice.org/69790
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2019-03-27 08:51:49 +01:00
parent 07a176e223
commit ed43570bc2

View File

@ -431,7 +431,7 @@ void Window::fireMousePressedEvent( const css::awt::MouseEvent& rEvt )
::cppu::OInterfaceIteratorHelper aIter( *pContainer );
while( aIter.hasMoreElements() )
uno::Reference< awt::XMouseListener >( aIter.next(), uno::UNO_QUERY )->mousePressed( rEvt );
uno::Reference< awt::XMouseListener >( aIter.next(), uno::UNO_QUERY_THROW )->mousePressed( rEvt );
}
}
@ -444,7 +444,7 @@ void Window::fireMouseReleasedEvent( const css::awt::MouseEvent& rEvt )
::cppu::OInterfaceIteratorHelper aIter( *pContainer );
while( aIter.hasMoreElements() )
uno::Reference< awt::XMouseListener >( aIter.next(), uno::UNO_QUERY )->mouseReleased( rEvt );
uno::Reference< awt::XMouseListener >( aIter.next(), uno::UNO_QUERY_THROW )->mouseReleased( rEvt );
}
}
@ -457,7 +457,7 @@ void Window::fireMouseMovedEvent( const css::awt::MouseEvent& rEvt )
::cppu::OInterfaceIteratorHelper aIter( *pContainer );
while( aIter.hasMoreElements() )
uno::Reference< awt::XMouseMotionListener >( aIter.next(), uno::UNO_QUERY )->mouseMoved( rEvt );
uno::Reference< awt::XMouseMotionListener >( aIter.next(), uno::UNO_QUERY_THROW )->mouseMoved( rEvt );
}
}
@ -470,7 +470,7 @@ void Window::fireSetFocusEvent( const css::awt::FocusEvent& rEvt )
::cppu::OInterfaceIteratorHelper aIter( *pContainer );
while( aIter.hasMoreElements() )
uno::Reference< awt::XFocusListener >( aIter.next(), uno::UNO_QUERY )->focusGained( rEvt );
uno::Reference< awt::XFocusListener >( aIter.next(), uno::UNO_QUERY_THROW )->focusGained( rEvt );
}
}