diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /slideshow | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 56 | ||||
-rw-r--r-- | slideshow/source/engine/eventmultiplexer.cxx | 28 | ||||
-rw-r--r-- | slideshow/source/engine/shapes/gdimtftools.cxx | 2 | ||||
-rw-r--r-- | slideshow/source/engine/slideshowimpl.cxx | 68 | ||||
-rw-r--r-- | slideshow/source/engine/slideview.cxx | 12 |
5 files changed, 83 insertions, 83 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index 8a6ce801176e..e44c0e64a104 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx @@ -197,11 +197,11 @@ public: // XTransition virtual void SAL_CALL update( double nTime ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual void SAL_CALL viewChanged( const Reference< presentation::XSlideShowView >& rView, const Reference< rendering::XBitmap >& rLeavingBitmap, const Reference< rendering::XBitmap >& rEnteringBitmap ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); protected: void disposeContextAndWindow(); @@ -989,25 +989,25 @@ namespace uno::Sequence< sal_Int8 > maComponentTags; uno::Sequence< sal_Int32 > maBitCounts; - virtual ::sal_Int8 SAL_CALL getType( ) throw (uno::RuntimeException) + virtual ::sal_Int8 SAL_CALL getType( ) throw (uno::RuntimeException, std::exception) { return rendering::ColorSpaceType::RGB; } - virtual uno::Sequence< ::sal_Int8 > SAL_CALL getComponentTags( ) throw (uno::RuntimeException) + virtual uno::Sequence< ::sal_Int8 > SAL_CALL getComponentTags( ) throw (uno::RuntimeException, std::exception) { return maComponentTags; } - virtual ::sal_Int8 SAL_CALL getRenderingIntent( ) throw (uno::RuntimeException) + virtual ::sal_Int8 SAL_CALL getRenderingIntent( ) throw (uno::RuntimeException, std::exception) { return rendering::RenderingIntent::PERCEPTUAL; } - virtual uno::Sequence< beans::PropertyValue > SAL_CALL getProperties( ) throw (uno::RuntimeException) + virtual uno::Sequence< beans::PropertyValue > SAL_CALL getProperties( ) throw (uno::RuntimeException, std::exception) { return uno::Sequence< beans::PropertyValue >(); } virtual uno::Sequence< double > SAL_CALL convertColorSpace( const uno::Sequence< double >& deviceColor, const uno::Reference< rendering::XColorSpace >& targetColorSpace ) throw (lang::IllegalArgumentException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { // TODO(P3): if we know anything about target // colorspace, this can be greatly sped up @@ -1015,7 +1015,7 @@ namespace convertToARGB(deviceColor)); return targetColorSpace->convertFromARGB(aIntermediate); } - virtual uno::Sequence< rendering::RGBColor > SAL_CALL convertToRGB( const uno::Sequence< double >& deviceColor ) throw (lang::IllegalArgumentException, uno::RuntimeException) + virtual uno::Sequence< rendering::RGBColor > SAL_CALL convertToRGB( const uno::Sequence< double >& deviceColor ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { const double* pIn( deviceColor.getConstArray() ); const sal_Size nLen( deviceColor.getLength() ); @@ -1032,7 +1032,7 @@ namespace } return aRes; } - virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertToARGB( const uno::Sequence< double >& deviceColor ) throw (lang::IllegalArgumentException, uno::RuntimeException) + virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertToARGB( const uno::Sequence< double >& deviceColor ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { const double* pIn( deviceColor.getConstArray() ); const sal_Size nLen( deviceColor.getLength() ); @@ -1049,7 +1049,7 @@ namespace } return aRes; } - virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertToPARGB( const uno::Sequence< double >& deviceColor ) throw (lang::IllegalArgumentException, uno::RuntimeException) + virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertToPARGB( const uno::Sequence< double >& deviceColor ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { const double* pIn( deviceColor.getConstArray() ); const sal_Size nLen( deviceColor.getLength() ); @@ -1066,7 +1066,7 @@ namespace } return aRes; } - virtual uno::Sequence< double > SAL_CALL convertFromRGB( const uno::Sequence< rendering::RGBColor >& rgbColor ) throw (lang::IllegalArgumentException, uno::RuntimeException) + virtual uno::Sequence< double > SAL_CALL convertFromRGB( const uno::Sequence< rendering::RGBColor >& rgbColor ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { const rendering::RGBColor* pIn( rgbColor.getConstArray() ); const sal_Size nLen( rgbColor.getLength() ); @@ -1083,7 +1083,7 @@ namespace } return aRes; } - virtual uno::Sequence< double > SAL_CALL convertFromARGB( const uno::Sequence< rendering::ARGBColor >& rgbColor ) throw (lang::IllegalArgumentException, uno::RuntimeException) + virtual uno::Sequence< double > SAL_CALL convertFromARGB( const uno::Sequence< rendering::ARGBColor >& rgbColor ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { const rendering::ARGBColor* pIn( rgbColor.getConstArray() ); const sal_Size nLen( rgbColor.getLength() ); @@ -1100,7 +1100,7 @@ namespace } return aRes; } - virtual uno::Sequence< double > SAL_CALL convertFromPARGB( const uno::Sequence< rendering::ARGBColor >& rgbColor ) throw (lang::IllegalArgumentException, uno::RuntimeException) + virtual uno::Sequence< double > SAL_CALL convertFromPARGB( const uno::Sequence< rendering::ARGBColor >& rgbColor ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { const rendering::ARGBColor* pIn( rgbColor.getConstArray() ); const sal_Size nLen( rgbColor.getLength() ); @@ -1119,21 +1119,21 @@ namespace } // XIntegerBitmapColorSpace - virtual ::sal_Int32 SAL_CALL getBitsPerPixel( ) throw (uno::RuntimeException) + virtual ::sal_Int32 SAL_CALL getBitsPerPixel( ) throw (uno::RuntimeException, std::exception) { return 32; } - virtual uno::Sequence< ::sal_Int32 > SAL_CALL getComponentBitCounts( ) throw (uno::RuntimeException) + virtual uno::Sequence< ::sal_Int32 > SAL_CALL getComponentBitCounts( ) throw (uno::RuntimeException, std::exception) { return maBitCounts; } - virtual ::sal_Int8 SAL_CALL getEndianness( ) throw (uno::RuntimeException) + virtual ::sal_Int8 SAL_CALL getEndianness( ) throw (uno::RuntimeException, std::exception) { return util::Endianness::LITTLE; } virtual uno::Sequence<double> SAL_CALL convertFromIntegerColorSpace( const uno::Sequence< ::sal_Int8 >& deviceColor, const uno::Reference< rendering::XColorSpace >& targetColorSpace ) throw (lang::IllegalArgumentException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { if( dynamic_cast<OGLColorSpace*>(targetColorSpace.get()) ) { @@ -1165,7 +1165,7 @@ namespace } virtual uno::Sequence< ::sal_Int8 > SAL_CALL convertToIntegerColorSpace( const uno::Sequence< ::sal_Int8 >& deviceColor, const uno::Reference< rendering::XIntegerBitmapColorSpace >& targetColorSpace ) throw (lang::IllegalArgumentException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { if( dynamic_cast<OGLColorSpace*>(targetColorSpace.get()) ) { @@ -1181,7 +1181,7 @@ namespace return targetColorSpace->convertIntegerFromARGB(aIntermediate); } } - virtual uno::Sequence< rendering::RGBColor > SAL_CALL convertIntegerToRGB( const uno::Sequence< ::sal_Int8 >& deviceColor ) throw (lang::IllegalArgumentException, uno::RuntimeException) + virtual uno::Sequence< rendering::RGBColor > SAL_CALL convertIntegerToRGB( const uno::Sequence< ::sal_Int8 >& deviceColor ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { const sal_Int8* pIn( deviceColor.getConstArray() ); const sal_Size nLen( deviceColor.getLength() ); @@ -1202,7 +1202,7 @@ namespace return aRes; } - virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertIntegerToARGB( const uno::Sequence< ::sal_Int8 >& deviceColor ) throw (lang::IllegalArgumentException, uno::RuntimeException) + virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertIntegerToARGB( const uno::Sequence< ::sal_Int8 >& deviceColor ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { const sal_Int8* pIn( deviceColor.getConstArray() ); const sal_Size nLen( deviceColor.getLength() ); @@ -1224,7 +1224,7 @@ namespace return aRes; } - virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertIntegerToPARGB( const uno::Sequence< ::sal_Int8 >& deviceColor ) throw (lang::IllegalArgumentException, uno::RuntimeException) + virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertIntegerToPARGB( const uno::Sequence< ::sal_Int8 >& deviceColor ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { const sal_Int8* pIn( deviceColor.getConstArray() ); const sal_Size nLen( deviceColor.getLength() ); @@ -1247,7 +1247,7 @@ namespace return aRes; } - virtual uno::Sequence< ::sal_Int8 > SAL_CALL convertIntegerFromRGB( const uno::Sequence< rendering::RGBColor >& rgbColor ) throw (lang::IllegalArgumentException, uno::RuntimeException) + virtual uno::Sequence< ::sal_Int8 > SAL_CALL convertIntegerFromRGB( const uno::Sequence< rendering::RGBColor >& rgbColor ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { const rendering::RGBColor* pIn( rgbColor.getConstArray() ); const sal_Size nLen( rgbColor.getLength() ); @@ -1265,7 +1265,7 @@ namespace return aRes; } - virtual uno::Sequence< ::sal_Int8 > SAL_CALL convertIntegerFromARGB( const uno::Sequence< rendering::ARGBColor >& rgbColor ) throw (lang::IllegalArgumentException, uno::RuntimeException) + virtual uno::Sequence< ::sal_Int8 > SAL_CALL convertIntegerFromARGB( const uno::Sequence< rendering::ARGBColor >& rgbColor ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { const rendering::ARGBColor* pIn( rgbColor.getConstArray() ); const sal_Size nLen( rgbColor.getLength() ); @@ -1283,7 +1283,7 @@ namespace return aRes; } - virtual uno::Sequence< ::sal_Int8 > SAL_CALL convertIntegerFromPARGB( const uno::Sequence< rendering::ARGBColor >& rgbColor ) throw (lang::IllegalArgumentException, uno::RuntimeException) + virtual uno::Sequence< ::sal_Int8 > SAL_CALL convertIntegerFromPARGB( const uno::Sequence< rendering::ARGBColor >& rgbColor ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { const rendering::ARGBColor* pIn( rgbColor.getConstArray() ); const sal_Size nLen( rgbColor.getLength() ); @@ -1569,7 +1569,7 @@ void OGLTransitionerImpl::GLInitSlides() #endif } -void SAL_CALL OGLTransitionerImpl::update( double nTime ) throw (uno::RuntimeException) +void SAL_CALL OGLTransitionerImpl::update( double nTime ) throw (uno::RuntimeException, std::exception) { #if OSL_DEBUG_LEVEL > 1 mnFrameCount ++; @@ -1626,7 +1626,7 @@ void SAL_CALL OGLTransitionerImpl::update( double nTime ) throw (uno::RuntimeExc void SAL_CALL OGLTransitionerImpl::viewChanged( const Reference< presentation::XSlideShowView >& rView, const Reference< rendering::XBitmap >& rLeavingBitmap, const Reference< rendering::XBitmap >& rEnteringBitmap ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { SAL_INFO("slideshow.opengl", "transitioner: view changed"); @@ -1801,7 +1801,7 @@ public: {} // XTransitionFactory - virtual ::sal_Bool SAL_CALL hasTransition( ::sal_Int16 transitionType, ::sal_Int16 transitionSubType ) throw (uno::RuntimeException) + virtual ::sal_Bool SAL_CALL hasTransition( ::sal_Int16 transitionType, ::sal_Int16 transitionSubType ) throw (uno::RuntimeException, std::exception) { if( transitionType == animations::TransitionType::MISCSHAPEWIPE ) { switch( transitionSubType ) @@ -1843,7 +1843,7 @@ public: const uno::Reference< presentation::XSlideShowView >& view, const uno::Reference< rendering::XBitmap >& leavingBitmap, const uno::Reference< rendering::XBitmap >& enteringBitmap ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { if( !hasTransition( transitionType, transitionSubType ) ) return uno::Reference< presentation::XTransition >(); diff --git a/slideshow/source/engine/eventmultiplexer.cxx b/slideshow/source/engine/eventmultiplexer.cxx index 0901cfae52db..5efb2bdf08ba 100644 --- a/slideshow/source/engine/eventmultiplexer.cxx +++ b/slideshow/source/engine/eventmultiplexer.cxx @@ -139,23 +139,23 @@ public: private: virtual void SAL_CALL disposing( const lang::EventObject& Source ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); // XMouseListener implementation virtual void SAL_CALL mousePressed( const awt::MouseEvent& e ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual void SAL_CALL mouseReleased( const awt::MouseEvent& e ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual void SAL_CALL mouseEntered( const awt::MouseEvent& e ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual void SAL_CALL mouseExited( const awt::MouseEvent& e ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); // XMouseMotionListener implementation virtual void SAL_CALL mouseDragged( const awt::MouseEvent& e ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual void SAL_CALL mouseMoved( const awt::MouseEvent& e ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); EventQueue* mpEventQueue; @@ -333,7 +333,7 @@ void SAL_CALL EventMultiplexerListener::disposing() } void SAL_CALL EventMultiplexerListener::disposing( - const lang::EventObject& /*rSource*/ ) throw (uno::RuntimeException) + const lang::EventObject& /*rSource*/ ) throw (uno::RuntimeException, std::exception) { // there's no real point in acting on this message - after all, // the event sources are the XSlideShowViews, which must be @@ -345,7 +345,7 @@ void SAL_CALL EventMultiplexerListener::disposing( } void SAL_CALL EventMultiplexerListener::mousePressed( - const awt::MouseEvent& e ) throw (uno::RuntimeException) + const awt::MouseEvent& e ) throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -360,7 +360,7 @@ void SAL_CALL EventMultiplexerListener::mousePressed( } void SAL_CALL EventMultiplexerListener::mouseReleased( - const awt::MouseEvent& e ) throw (uno::RuntimeException) + const awt::MouseEvent& e ) throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -375,20 +375,20 @@ void SAL_CALL EventMultiplexerListener::mouseReleased( } void SAL_CALL EventMultiplexerListener::mouseEntered( - const awt::MouseEvent& /*e*/ ) throw (uno::RuntimeException) + const awt::MouseEvent& /*e*/ ) throw (uno::RuntimeException, std::exception) { // not used here } void SAL_CALL EventMultiplexerListener::mouseExited( - const awt::MouseEvent& /*e*/ ) throw (uno::RuntimeException) + const awt::MouseEvent& /*e*/ ) throw (uno::RuntimeException, std::exception) { // not used here } // XMouseMotionListener implementation void SAL_CALL EventMultiplexerListener::mouseDragged( - const awt::MouseEvent& e ) throw (uno::RuntimeException) + const awt::MouseEvent& e ) throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -403,7 +403,7 @@ void SAL_CALL EventMultiplexerListener::mouseDragged( } void SAL_CALL EventMultiplexerListener::mouseMoved( - const awt::MouseEvent& e ) throw (uno::RuntimeException) + const awt::MouseEvent& e ) throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx index 1a185908a0e8..5c69f1a9fb2e 100644 --- a/slideshow/source/engine/shapes/gdimtftools.cxx +++ b/slideshow/source/engine/shapes/gdimtftools.cxx @@ -119,7 +119,7 @@ public: } //--- XGraphicRenderer ----------------------------------- - virtual void SAL_CALL render( const uno::Reference< graphic::XGraphic >& rGraphic ) throw (uno::RuntimeException) + virtual void SAL_CALL render( const uno::Reference< graphic::XGraphic >& rGraphic ) throw (uno::RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); mxGraphic = rGraphic; diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx index 8e0d7f2443e8..ec0b720d9f7c 100644 --- a/slideshow/source/engine/slideshowimpl.cxx +++ b/slideshow/source/engine/slideshowimpl.cxx @@ -279,52 +279,52 @@ public: private: // XSlideShow: - virtual sal_Bool SAL_CALL nextEffect() throw (uno::RuntimeException); - virtual sal_Bool SAL_CALL previousEffect() throw (uno::RuntimeException); + virtual sal_Bool SAL_CALL nextEffect() throw (uno::RuntimeException, std::exception); + virtual sal_Bool SAL_CALL previousEffect() throw (uno::RuntimeException, std::exception); virtual sal_Bool SAL_CALL startShapeActivity( uno::Reference<drawing::XShape> const& xShape ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual sal_Bool SAL_CALL stopShapeActivity( uno::Reference<drawing::XShape> const& xShape ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual sal_Bool SAL_CALL pause( sal_Bool bPauseShow ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual uno::Reference<drawing::XDrawPage> SAL_CALL getCurrentSlide() - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual void SAL_CALL displaySlide( uno::Reference<drawing::XDrawPage> const& xSlide, uno::Reference<drawing::XDrawPagesSupplier> const& xDrawPages, uno::Reference<animations::XAnimationNode> const& xRootNode, uno::Sequence<beans::PropertyValue> const& rProperties ) - throw (uno::RuntimeException); - virtual void SAL_CALL registerUserPaintPolygons( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xDocFactory ) throw (::com::sun::star::uno::RuntimeException); + throw (uno::RuntimeException, std::exception); + virtual void SAL_CALL registerUserPaintPolygons( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xDocFactory ) throw (::com::sun::star::uno::RuntimeException, std::exception); virtual sal_Bool SAL_CALL setProperty( - beans::PropertyValue const& rProperty ) throw (uno::RuntimeException); + beans::PropertyValue const& rProperty ) throw (uno::RuntimeException, std::exception); virtual sal_Bool SAL_CALL addView( uno::Reference<presentation::XSlideShowView> const& xView ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual sal_Bool SAL_CALL removeView( uno::Reference<presentation::XSlideShowView> const& xView ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual sal_Bool SAL_CALL update( double & nNextTimeout ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual void SAL_CALL addSlideShowListener( uno::Reference<presentation::XSlideShowListener> const& xListener ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual void SAL_CALL removeSlideShowListener( uno::Reference<presentation::XSlideShowListener> const& xListener ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual void SAL_CALL addShapeEventListener( uno::Reference<presentation::XShapeEventListener> const& xListener, uno::Reference<drawing::XShape> const& xShape ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual void SAL_CALL removeShapeEventListener( uno::Reference<presentation::XShapeEventListener> const& xListener, uno::Reference<drawing::XShape> const& xShape ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); virtual void SAL_CALL setShapeCursor( uno::Reference<drawing::XShape> const& xShape, sal_Int16 nPointerShape ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); // CursorManager @@ -1075,7 +1075,7 @@ void SlideShowImpl::displaySlide( uno::Reference<drawing::XDrawPagesSupplier> const& xDrawPages, uno::Reference<animations::XAnimationNode> const& xRootNode, uno::Sequence<beans::PropertyValue> const& rProperties ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1232,7 +1232,7 @@ void SlideShowImpl::redisplayCurrentSlide (void) boost::mem_fn( &presentation::XSlideShowListener::slideTransitionStarted ) ); } -sal_Bool SlideShowImpl::nextEffect() throw (uno::RuntimeException) +sal_Bool SlideShowImpl::nextEffect() throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1248,7 +1248,7 @@ sal_Bool SlideShowImpl::nextEffect() throw (uno::RuntimeException) return maEventMultiplexer.notifyNextEffect(); } -sal_Bool SlideShowImpl::previousEffect() throw (uno::RuntimeException) +sal_Bool SlideShowImpl::previousEffect() throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1293,7 +1293,7 @@ void SlideShowImpl::rewindEffectToPreviousSlide (void) sal_Bool SlideShowImpl::startShapeActivity( uno::Reference<drawing::XShape> const& /*xShape*/ ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1307,7 +1307,7 @@ sal_Bool SlideShowImpl::startShapeActivity( sal_Bool SlideShowImpl::stopShapeActivity( uno::Reference<drawing::XShape> const& /*xShape*/ ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1320,7 +1320,7 @@ sal_Bool SlideShowImpl::stopShapeActivity( } sal_Bool SlideShowImpl::pause( sal_Bool bPauseShow ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1342,7 +1342,7 @@ sal_Bool SlideShowImpl::pause( sal_Bool bPauseShow ) } uno::Reference<drawing::XDrawPage> SlideShowImpl::getCurrentSlide() - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1360,7 +1360,7 @@ uno::Reference<drawing::XDrawPage> SlideShowImpl::getCurrentSlide() sal_Bool SlideShowImpl::addView( uno::Reference<presentation::XSlideShowView> const& xView ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1408,7 +1408,7 @@ sal_Bool SlideShowImpl::addView( sal_Bool SlideShowImpl::removeView( uno::Reference<presentation::XSlideShowView> const& xView ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1429,7 +1429,7 @@ sal_Bool SlideShowImpl::removeView( return true; } -void SlideShowImpl::registerUserPaintPolygons( const uno::Reference< lang::XMultiServiceFactory >& xDocFactory ) throw (uno::RuntimeException) +void SlideShowImpl::registerUserPaintPolygons( const uno::Reference< lang::XMultiServiceFactory >& xDocFactory ) throw (uno::RuntimeException, std::exception) { //Retrieve Polygons if user ends presentation by context menu if (mpCurrentSlide) @@ -1555,7 +1555,7 @@ void SlideShowImpl::registerUserPaintPolygons( const uno::Reference< lang::XMult } sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1846,7 +1846,7 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty ) void SlideShowImpl::addSlideShowListener( uno::Reference<presentation::XSlideShowListener> const& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1859,7 +1859,7 @@ void SlideShowImpl::addSlideShowListener( void SlideShowImpl::removeSlideShowListener( uno::Reference<presentation::XSlideShowListener> const& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1870,7 +1870,7 @@ void SlideShowImpl::removeSlideShowListener( void SlideShowImpl::addShapeEventListener( uno::Reference<presentation::XShapeEventListener> const& xListener, uno::Reference<drawing::XShape> const& xShape ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1903,7 +1903,7 @@ void SlideShowImpl::addShapeEventListener( void SlideShowImpl::removeShapeEventListener( uno::Reference<presentation::XShapeEventListener> const& xListener, uno::Reference<drawing::XShape> const& xShape ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1930,7 +1930,7 @@ void SlideShowImpl::removeShapeEventListener( void SlideShowImpl::setShapeCursor( uno::Reference<drawing::XShape> const& xShape, sal_Int16 nPointerShape ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1999,7 +1999,7 @@ void SlideShowImpl::resetCursor() } sal_Bool SlideShowImpl::update( double & nNextTimeout ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); diff --git a/slideshow/source/engine/slideview.cxx b/slideshow/source/engine/slideview.cxx index ffb6d39e0c86..279905a97f7b 100644 --- a/slideshow/source/engine/slideview.cxx +++ b/slideshow/source/engine/slideview.cxx @@ -723,13 +723,13 @@ private: // XEventListener: virtual void SAL_CALL disposing( lang::EventObject const& evt ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); // XModifyListener: virtual void SAL_CALL modified( const lang::EventObject& aEvent ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); // XPaintListener: virtual void SAL_CALL windowPaint( const awt::PaintEvent& e ) - throw (uno::RuntimeException); + throw (uno::RuntimeException, std::exception); // WeakComponentImplHelperBase: virtual void SAL_CALL disposing(); @@ -1032,7 +1032,7 @@ void SlideView::_dispose() // XEventListener void SlideView::disposing( lang::EventObject const& evt ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { (void)evt; @@ -1050,7 +1050,7 @@ void SlideView::disposing( lang::EventObject const& evt ) // XModifyListener void SlideView::modified( const lang::EventObject& /*aEvent*/ ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard const guard( m_aMutex ); @@ -1100,7 +1100,7 @@ void SlideView::modified( const lang::EventObject& /*aEvent*/ ) // XPaintListener void SlideView::windowPaint( const awt::PaintEvent& /*e*/ ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( m_aMutex ); |