diff options
Diffstat (limited to 'include/canvas/base/bufferedgraphicdevicebase.hxx')
-rw-r--r-- | include/canvas/base/bufferedgraphicdevicebase.hxx | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/include/canvas/base/bufferedgraphicdevicebase.hxx b/include/canvas/base/bufferedgraphicdevicebase.hxx index fb63de688739..77df5197f89a 100644 --- a/include/canvas/base/bufferedgraphicdevicebase.hxx +++ b/include/canvas/base/bufferedgraphicdevicebase.hxx @@ -93,34 +93,31 @@ namespace canvas } // XGraphicDevice - virtual css::uno::Reference< css::rendering::XBufferController > SAL_CALL getBufferController( ) throw (css::uno::RuntimeException) override + virtual css::uno::Reference< css::rendering::XBufferController > SAL_CALL getBufferController( ) override { return this; } // XBufferController - virtual ::sal_Int32 SAL_CALL createBuffers( ::sal_Int32 nBuffers ) throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException) override + virtual ::sal_Int32 SAL_CALL createBuffers( ::sal_Int32 nBuffers ) override { tools::verifyRange( nBuffers, (sal_Int32)1 ); return 1; } - virtual void SAL_CALL destroyBuffers( ) throw (css::uno::RuntimeException) override + virtual void SAL_CALL destroyBuffers( ) override { } - virtual sal_Bool SAL_CALL showBuffer( sal_Bool bUpdateAll ) - throw (css::uno::RuntimeException, - std::exception) override + virtual sal_Bool SAL_CALL showBuffer( sal_Bool bUpdateAll ) override { MutexType aGuard( BaseType::m_aMutex ); return BaseType::maDeviceHelper.showBuffer( mbIsVisible, bUpdateAll ); } - virtual sal_Bool SAL_CALL switchBuffer( sal_Bool bUpdateAll ) throw (css::uno::RuntimeException, std::exception) override + virtual sal_Bool SAL_CALL switchBuffer( sal_Bool bUpdateAll ) override { MutexType aGuard( BaseType::m_aMutex ); @@ -216,7 +213,7 @@ namespace canvas } // XWindowListener - virtual void disposeEventSource( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException) override + virtual void disposeEventSource( const css::lang::EventObject& Source ) override { typename BaseType::MutexType aGuard( BaseType::m_aMutex ); @@ -226,24 +223,24 @@ namespace canvas BaseType::disposeEventSource(Source); } - virtual void SAL_CALL windowResized( const css::awt::WindowEvent& e ) throw (css::uno::RuntimeException) override + virtual void SAL_CALL windowResized( const css::awt::WindowEvent& e ) override { boundsChanged( e ); } - virtual void SAL_CALL windowMoved( const css::awt::WindowEvent& e ) throw (css::uno::RuntimeException) override + virtual void SAL_CALL windowMoved( const css::awt::WindowEvent& e ) override { boundsChanged( e ); } - virtual void SAL_CALL windowShown( const css::lang::EventObject& ) throw (css::uno::RuntimeException) override + virtual void SAL_CALL windowShown( const css::lang::EventObject& ) override { typename BaseType::MutexType aGuard( BaseType::m_aMutex ); mbIsVisible = true; } - virtual void SAL_CALL windowHidden( const css::lang::EventObject& ) throw (css::uno::RuntimeException) override + virtual void SAL_CALL windowHidden( const css::lang::EventObject& ) override { typename BaseType::MutexType aGuard( BaseType::m_aMutex ); |