diff options
Diffstat (limited to 'avmedia/source/win/window.cxx')
-rw-r--r-- | avmedia/source/win/window.cxx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/avmedia/source/win/window.cxx b/avmedia/source/win/window.cxx index ba30b07403c5..9886ada2b5a1 100644 --- a/avmedia/source/win/window.cxx +++ b/avmedia/source/win/window.cxx @@ -344,13 +344,11 @@ void Window::updatePointer() } void SAL_CALL Window::update( ) - throw (uno::RuntimeException) { ::RedrawWindow( mnFrameWnd, nullptr, nullptr, RDW_ALLCHILDREN | RDW_INVALIDATE | RDW_UPDATENOW | RDW_ERASE ); } sal_Bool SAL_CALL Window::setZoomLevel( media::ZoomLevel eZoomLevel ) - throw (uno::RuntimeException) { boolean bRet = false; @@ -370,19 +368,16 @@ sal_Bool SAL_CALL Window::setZoomLevel( media::ZoomLevel eZoomLevel ) } media::ZoomLevel SAL_CALL Window::getZoomLevel( ) - throw (uno::RuntimeException) { return meZoomLevel; } void SAL_CALL Window::setPointerType( sal_Int32 nPointerType ) - throw (uno::RuntimeException) { mnPointerType = nPointerType; } void SAL_CALL Window::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 ) - throw (uno::RuntimeException) { if( mnFrameWnd ) { @@ -392,7 +387,6 @@ void SAL_CALL Window::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal } awt::Rectangle SAL_CALL Window::getPosSize() - throw (uno::RuntimeException) { awt::Rectangle aRet; @@ -413,7 +407,6 @@ awt::Rectangle SAL_CALL Window::getPosSize() } void SAL_CALL Window::setVisible( sal_Bool bVisible ) - throw (uno::RuntimeException) { if( mnFrameWnd ) { @@ -427,104 +420,87 @@ void SAL_CALL Window::setVisible( sal_Bool bVisible ) } void SAL_CALL Window::setEnable( sal_Bool bEnable ) - throw (uno::RuntimeException) { if( mnFrameWnd ) ::EnableWindow( mnFrameWnd, bEnable ); } void SAL_CALL Window::setFocus( ) - throw (uno::RuntimeException) { if( mnFrameWnd ) ::SetFocus( mnFrameWnd ); } void SAL_CALL Window::addWindowListener( const uno::Reference< awt::XWindowListener >& xListener ) - throw (uno::RuntimeException) { maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void SAL_CALL Window::removeWindowListener( const uno::Reference< awt::XWindowListener >& xListener ) - throw (uno::RuntimeException) { maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void SAL_CALL Window::addFocusListener( const uno::Reference< awt::XFocusListener >& xListener ) - throw (uno::RuntimeException) { maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void SAL_CALL Window::removeFocusListener( const uno::Reference< awt::XFocusListener >& xListener ) - throw (uno::RuntimeException) { maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void SAL_CALL Window::addKeyListener( const uno::Reference< awt::XKeyListener >& xListener ) - throw (uno::RuntimeException) { maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void SAL_CALL Window::removeKeyListener( const uno::Reference< awt::XKeyListener >& xListener ) - throw (uno::RuntimeException) { maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void SAL_CALL Window::addMouseListener( const uno::Reference< awt::XMouseListener >& xListener ) - throw (uno::RuntimeException) { maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void SAL_CALL Window::removeMouseListener( const uno::Reference< awt::XMouseListener >& xListener ) - throw (uno::RuntimeException) { maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void SAL_CALL Window::addMouseMotionListener( const uno::Reference< awt::XMouseMotionListener >& xListener ) - throw (uno::RuntimeException) { maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void SAL_CALL Window::removeMouseMotionListener( const uno::Reference< awt::XMouseMotionListener >& xListener ) - throw (uno::RuntimeException) { maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void SAL_CALL Window::addPaintListener( const uno::Reference< awt::XPaintListener >& xListener ) - throw (uno::RuntimeException) { maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void SAL_CALL Window::removePaintListener( const uno::Reference< awt::XPaintListener >& xListener ) - throw (uno::RuntimeException) { maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void SAL_CALL Window::dispose( ) - throw (uno::RuntimeException) { } void SAL_CALL Window::addEventListener( const uno::Reference< lang::XEventListener >& xListener ) - throw (uno::RuntimeException) { maListeners.addInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void SAL_CALL Window::removeEventListener( const uno::Reference< lang::XEventListener >& xListener ) - throw (uno::RuntimeException) { maListeners.removeInterface( cppu::UnoType<decltype(xListener)>::get(), xListener ); } @@ -582,19 +558,16 @@ void Window::fireSetFocusEvent( const css::awt::FocusEvent& rEvt ) } OUString SAL_CALL Window::getImplementationName( ) - throw (uno::RuntimeException) { return OUString( AVMEDIA_WIN_WINDOW_IMPLEMENTATIONNAME ); } sal_Bool SAL_CALL Window::supportsService( const OUString& ServiceName ) - throw (uno::RuntimeException) { return cppu::supportsService(this, ServiceName); } uno::Sequence< OUString > SAL_CALL Window::getSupportedServiceNames( ) - throw (uno::RuntimeException) { return { AVMEDIA_WIN_WINDOW_SERVICENAME }; } |