avmedia/source/win/window.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit ed43570bc2bdfe4fed34de2eee8ff0c80b9299ed Author: Stephan Bergmann <[email protected]> AuthorDate: Wed Mar 27 08:51:49 2019 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Wed Mar 27 10:59:00 2019 +0100 loplugin:unoquery (clang-cl) Change-Id: If66b07c8e9097698ba9ed774e04ef5b55574ba94 Reviewed-on: https://gerrit.libreoffice.org/69790 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> diff --git a/avmedia/source/win/window.cxx b/avmedia/source/win/window.cxx index dcc13eae7421..44dfb7b239ac 100644 --- a/avmedia/source/win/window.cxx +++ b/avmedia/source/win/window.cxx @@ -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 ); } } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
