diff options
Diffstat (limited to 'avmedia/source/vlc/vlcwindow.cxx')
-rw-r--r-- | avmedia/source/vlc/vlcwindow.cxx | 35 |
1 files changed, 8 insertions, 27 deletions
diff --git a/avmedia/source/vlc/vlcwindow.cxx b/avmedia/source/vlc/vlcwindow.cxx index 2a4ad61bb27a..e3c0ab26147c 100644 --- a/avmedia/source/vlc/vlcwindow.cxx +++ b/avmedia/source/vlc/vlcwindow.cxx @@ -46,11 +46,11 @@ VLCWindow::~VLCWindow() mPlayer.setWindowID( mPrevWinID ); } -void SAL_CALL VLCWindow::update() throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VLCWindow::update() { } -sal_Bool SAL_CALL VLCWindow::setZoomLevel( css::media::ZoomLevel eZoomLevel ) throw (css::uno::RuntimeException, std::exception) +sal_Bool SAL_CALL VLCWindow::setZoomLevel( css::media::ZoomLevel eZoomLevel ) { bool bRet = false; @@ -82,46 +82,43 @@ sal_Bool SAL_CALL VLCWindow::setZoomLevel( css::media::ZoomLevel eZoomLevel ) th return bRet; } -css::media::ZoomLevel SAL_CALL VLCWindow::getZoomLevel() throw (css::uno::RuntimeException, std::exception) +css::media::ZoomLevel SAL_CALL VLCWindow::getZoomLevel() { return meZoomLevel; } -void SAL_CALL VLCWindow::setPointerType( ::sal_Int32 ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VLCWindow::setPointerType( ::sal_Int32 ) { } -::rtl::OUString SAL_CALL VLCWindow::getImplementationName() throw (css::uno::RuntimeException, std::exception) +::rtl::OUString SAL_CALL VLCWindow::getImplementationName() { return AVMEDIA_VLC_WINDOW_IMPLEMENTATIONNAME; } -sal_Bool SAL_CALL VLCWindow::supportsService( const ::rtl::OUString& serviceName ) throw (css::uno::RuntimeException, std::exception) +sal_Bool SAL_CALL VLCWindow::supportsService( const ::rtl::OUString& serviceName ) { return cppu::supportsService(this, serviceName); } -uno::Sequence< ::rtl::OUString > SAL_CALL VLCWindow::getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) +uno::Sequence< ::rtl::OUString > SAL_CALL VLCWindow::getSupportedServiceNames() { return { AVMEDIA_VLC_WINDOW_SERVICENAME }; } -void SAL_CALL VLCWindow::dispose() throw (uno::RuntimeException, std::exception) +void SAL_CALL VLCWindow::dispose() { } void SAL_CALL VLCWindow::addEventListener( const uno::Reference< lang::XEventListener >& ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::removeEventListener( const uno::Reference< lang::XEventListener >& ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 /* Flags */ ) - throw (uno::RuntimeException, std::exception) { mSize.X = X; mSize.Y = Y; @@ -130,83 +127,67 @@ void SAL_CALL VLCWindow::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, } awt::Rectangle SAL_CALL VLCWindow::getPosSize() - throw (uno::RuntimeException, std::exception) { return mSize; } void SAL_CALL VLCWindow::setVisible( sal_Bool ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::setEnable( sal_Bool ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::setFocus() - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::addWindowListener( const uno::Reference< awt::XWindowListener >& ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::removeWindowListener( const uno::Reference< awt::XWindowListener >& ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::addFocusListener( const uno::Reference< awt::XFocusListener >& ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::removeFocusListener( const uno::Reference< awt::XFocusListener >& ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::addKeyListener( const uno::Reference< awt::XKeyListener >& ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::removeKeyListener( const uno::Reference< awt::XKeyListener >& ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::addMouseListener( const uno::Reference< awt::XMouseListener >& ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::removeMouseListener( const uno::Reference< awt::XMouseListener >& ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::addMouseMotionListener( const uno::Reference< awt::XMouseMotionListener >& ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::removeMouseMotionListener( const uno::Reference< awt::XMouseMotionListener >& ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::addPaintListener( const uno::Reference< awt::XPaintListener >& ) - throw (uno::RuntimeException, std::exception) { } void SAL_CALL VLCWindow::removePaintListener( const uno::Reference< awt::XPaintListener >& ) - throw (uno::RuntimeException, std::exception) { } |