diff options
Diffstat (limited to 'sd/source')
32 files changed, 65 insertions, 7 deletions
diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx index 770ab0b347b3..967930afa1e7 100644 --- a/sd/source/core/CustomAnimationEffect.cxx +++ b/sd/source/core/CustomAnimationEffect.cxx @@ -1993,6 +1993,7 @@ bool stl_CustomAnimationEffect_search_node_predict::operator()( const CustomAnim return pEffect->getNode() == mxSearchNode; } +/// @throws Exception static bool implFindNextContainer( Reference< XTimeContainer >& xParent, Reference< XTimeContainer >& xCurrent, Reference< XTimeContainer >& xNext ) throw(Exception) { diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 702dc582e289..4df2bbff379f 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -2291,6 +2291,7 @@ uno::Sequence< OUString > SAL_CALL PowerPointExport_getSupportedServiceNames() t return Sequence< OUString >(); } +/// @throws uno::Exception uno::Reference< uno::XInterface > SAL_CALL PowerPointExport_createInstance(const uno::Reference< XComponentContext > & rxCtxt ) throw( uno::Exception ) { return static_cast<cppu::OWeakObject*>(new PowerPointExport( rxCtxt )); diff --git a/sd/source/ui/controller/slidelayoutcontroller.cxx b/sd/source/ui/controller/slidelayoutcontroller.cxx index dc799a1c7e96..acdad1d98c82 100644 --- a/sd/source/ui/controller/slidelayoutcontroller.cxx +++ b/sd/source/ui/controller/slidelayoutcontroller.cxx @@ -308,22 +308,26 @@ void LayoutToolbarMenu::SelectHdl(void* pControl) mrController.dispatchCommand( sCommandURL, aArgs ); } +/// @throws css::uno::RuntimeException OUString SlideLayoutController_getImplementationName() throw (css::uno::RuntimeException) { return OUString( "com.sun.star.comp.sd.SlideLayoutController" ); } +/// @throws RuntimeException Sequence< OUString > SlideLayoutController_getSupportedServiceNames() throw( RuntimeException ) { Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" }; return aSNS; } +/// @throws css::uno::RuntimeException OUString InsertSlideController_getImplementationName() throw (css::uno::RuntimeException) { return OUString( "com.sun.star.comp.sd.InsertSlideController" ); } +/// @throws RuntimeException Sequence< OUString > InsertSlideController_getSupportedServiceNames() throw( RuntimeException ) { Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" }; diff --git a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx index 03e7a5643655..9582cdb4169d 100644 --- a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx +++ b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx @@ -59,6 +59,7 @@ public: @param eMode The mode specifies whether to activate or to deactivate the resource. + @throws css::css::lang::IllegalArgumentException */ GenericConfigurationChangeRequest ( const css::uno::Reference<css::drawing::framework::XResourceId>& diff --git a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx index 6152e7861bc6..c6ab5c9a09ad 100644 --- a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx +++ b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx @@ -49,6 +49,7 @@ public: The type of the resource that will be created by the factory. @param rxFactory The factory that will create resource objects of the specified type. + @throws css::uno::RuntimeException */ void AddFactory ( const OUString& rsURL, @@ -59,6 +60,7 @@ public: @param rsURL Unregister only the factory for this URL. When the same factory is registered for other URLs then these remain registered. + @throws css::uno::RuntimeException */ void RemoveFactoryForURL( const OUString& rsURL) @@ -68,6 +70,7 @@ public: @param rxFactory Unregister the this factory for all URLs that it has been registered for. + @throws css::uno::RuntimeException */ void RemoveFactoryForReference( const css::uno::Reference<css::drawing::framework::XResourceFactory>& rxFactory) @@ -80,6 +83,7 @@ public: When a factory for the specified URL has been registered by a previous call to AddFactory() then a reference to that factory is returned. Otherwise an empty reference is returned. + @throws css::uno::RuntimeException */ css::uno::Reference<css::drawing::framework::XResourceFactory> GetFactory ( const OUString& rsURL) @@ -109,6 +113,7 @@ private: stripped off by the caller. @return When the factory has not yet been added then return NULL. + @throws css::uno::RuntimeException */ css::uno::Reference<css::drawing::framework::XResourceFactory> FindFactory ( const OUString& rsURLBase) diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.hxx b/sd/source/ui/framework/factories/BasicPaneFactory.hxx index 5b8caf81fbf3..82df2a858884 100644 --- a/sd/source/ui/framework/factories/BasicPaneFactory.hxx +++ b/sd/source/ui/framework/factories/BasicPaneFactory.hxx @@ -133,6 +133,7 @@ private: css::drawing::framework::XResourceId>& rxPaneId, const PaneDescriptor& rDescriptor); + /// @throws css::lang::DisposedException void ThrowIfDisposed() const throw (css::lang::DisposedException); }; diff --git a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx index cb471e2ca3f2..bafef33ca6bc 100644 --- a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx +++ b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx @@ -91,6 +91,7 @@ private: void Shutdown(); + /// @throws css::lang::DisposedException void ThrowIfDisposed() const throw (css::lang::DisposedException); }; diff --git a/sd/source/ui/inc/AccessibleSlideSorterObject.hxx b/sd/source/ui/inc/AccessibleSlideSorterObject.hxx index 49dca89a4b10..eb0f9a6fa286 100644 --- a/sd/source/ui/inc/AccessibleSlideSorterObject.hxx +++ b/sd/source/ui/inc/AccessibleSlideSorterObject.hxx @@ -204,6 +204,8 @@ private: state of being disposed). If that is the case then DisposedException is thrown to inform the (indirect) caller of the foul deed. + + @throws css::lang::DisposedException */ void ThrowIfDisposed() throw (css::lang::DisposedException); diff --git a/sd/source/ui/inc/AccessibleSlideSorterView.hxx b/sd/source/ui/inc/AccessibleSlideSorterView.hxx index ee98373408d6..6318151a855d 100644 --- a/sd/source/ui/inc/AccessibleSlideSorterView.hxx +++ b/sd/source/ui/inc/AccessibleSlideSorterView.hxx @@ -287,6 +287,8 @@ private: state of being disposed). If that is the case then DisposedException is thrown to inform the (indirect) caller of the foul deed. + + @throws css::lang::DisposedException */ void ThrowIfDisposed() throw (css::lang::DisposedException); diff --git a/sd/source/ui/inc/DrawController.hxx b/sd/source/ui/inc/DrawController.hxx index c0a006529b51..abd43d072c14 100644 --- a/sd/source/ui/inc/DrawController.hxx +++ b/sd/source/ui/inc/DrawController.hxx @@ -281,6 +281,8 @@ protected: /** When the called object has been disposed already this method throws a Disposed exception and does not return. + + @throws css::lang::DisposedException */ void ThrowIfDisposed() const throw (css::lang::DisposedException); diff --git a/sd/source/ui/inc/SdUnoDrawView.hxx b/sd/source/ui/inc/SdUnoDrawView.hxx index 5a1790a3cc42..0302217cbb93 100644 --- a/sd/source/ui/inc/SdUnoDrawView.hxx +++ b/sd/source/ui/inc/SdUnoDrawView.hxx @@ -114,6 +114,7 @@ protected: /** Make the specified object the active layer. @param rxLayer The new layer object. + @throws css::uno::RuntimeException */ void setActiveLayer (const css::uno::Reference< css::drawing::XLayer>& rxLayer) throw (css::uno::RuntimeException, std::exception); diff --git a/sd/source/ui/inc/facreg.hxx b/sd/source/ui/inc/facreg.hxx index 23ab042b29db..d2d52b62ad47 100644 --- a/sd/source/ui/inc/facreg.hxx +++ b/sd/source/ui/inc/facreg.hxx @@ -29,11 +29,15 @@ namespace com { namespace sun { namespace star { } } } css::uno::Reference< css::uno::XInterface > SAL_CALL SdDrawingDocument_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & _rxFactory, SfxModelFlags _nCreationFlags ); +/// @throws css::uno::RuntimeException OUString SdDrawingDocument_getImplementationName() throw( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL SdDrawingDocument_getSupportedServiceNames() throw( css::uno::RuntimeException ); css::uno::Reference< css::uno::XInterface > SAL_CALL SdPresentationDocument_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & _rxFactory, SfxModelFlags _nCreationFlags ); +/// @throws css::uno::RuntimeException OUString SdPresentationDocument_getImplementationName() throw( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL SdPresentationDocument_getSupportedServiceNames() throw( css::uno::RuntimeException ); #endif diff --git a/sd/source/ui/inc/framework/Configuration.hxx b/sd/source/ui/inc/framework/Configuration.hxx index cf09438cbd91..8c20bef04eaf 100644 --- a/sd/source/ui/inc/framework/Configuration.hxx +++ b/sd/source/ui/inc/framework/Configuration.hxx @@ -174,6 +174,8 @@ private: /** When the called object has already been disposed this method throws an exception and does not return. + + @throws css::lang::DisposedException */ void ThrowIfDisposed() const throw (css::lang::DisposedException); diff --git a/sd/source/ui/inc/framework/ConfigurationController.hxx b/sd/source/ui/inc/framework/ConfigurationController.hxx index ee63880b1c6d..b314f479f54f 100644 --- a/sd/source/ui/inc/framework/ConfigurationController.hxx +++ b/sd/source/ui/inc/framework/ConfigurationController.hxx @@ -195,6 +195,9 @@ private: /** When the called object has already been disposed this method throws an exception and does not return. + + @throws css::lang::DisposedException + @throws css::uno::RuntimeException */ void ThrowIfDisposed () const throw (css::lang::DisposedException, css::uno::RuntimeException); diff --git a/sd/source/ui/inc/framework/ModuleController.hxx b/sd/source/ui/inc/framework/ModuleController.hxx index 35bff5e7f7dd..83fd00b23a4b 100644 --- a/sd/source/ui/inc/framework/ModuleController.hxx +++ b/sd/source/ui/inc/framework/ModuleController.hxx @@ -90,6 +90,7 @@ private: class LoadedFactoryContainer; std::unique_ptr<LoadedFactoryContainer> mpLoadedFactories; + /// @throws std::exception ModuleController ( const css::uno::Reference<css::uno::XComponentContext>& rxContext) throw (std::exception); diff --git a/sd/source/ui/inc/framework/Pane.hxx b/sd/source/ui/inc/framework/Pane.hxx index 9a71c4d6de6d..ddbf3454621f 100644 --- a/sd/source/ui/inc/framework/Pane.hxx +++ b/sd/source/ui/inc/framework/Pane.hxx @@ -135,6 +135,8 @@ protected: /** Override this method, not getCanvas(), when you want to provide a different canvas. + + @throws css::uno::RuntimeException */ virtual css::uno::Reference<css::rendering::XCanvas> CreateCanvas() @@ -143,6 +145,8 @@ protected: /** Throw DisposedException when the object has already been disposed or is currently being disposed. Otherwise this method returns normally. + + @throws css::lang::DisposedException */ void ThrowIfDisposed() const throw (css::lang::DisposedException); diff --git a/sd/source/ui/inc/framework/PresentationFactory.hxx b/sd/source/ui/inc/framework/PresentationFactory.hxx index 2e8bed5f6335..37a5fc4f0714 100644 --- a/sd/source/ui/inc/framework/PresentationFactory.hxx +++ b/sd/source/ui/inc/framework/PresentationFactory.hxx @@ -84,6 +84,7 @@ private: mxConfigurationController; css::uno::Reference<css::frame::XController> mxController; + /// @throws css::lang::DisposedException void ThrowIfDisposed() const throw (css::lang::DisposedException); }; diff --git a/sd/source/ui/inc/slideshow.hxx b/sd/source/ui/inc/slideshow.hxx index 49ac3448a7e4..30a77de00c6e 100644 --- a/sd/source/ui/inc/slideshow.hxx +++ b/sd/source/ui/inc/slideshow.hxx @@ -187,6 +187,7 @@ private: void StartInPlacePresentation(); void StartFullscreenPresentation(); + /// @throws css::uno::RuntimeException void ThrowIfDisposed() const throw (css::uno::RuntimeException); void CreateController( ViewShell* pViewSh, ::sd::View* pView, vcl::Window* pParentWindow ); diff --git a/sd/source/ui/inc/tools/PropertySet.hxx b/sd/source/ui/inc/tools/PropertySet.hxx index 7ec5a6655724..f3802dca93a9 100644 --- a/sd/source/ui/inc/tools/PropertySet.hxx +++ b/sd/source/ui/inc/tools/PropertySet.hxx @@ -125,7 +125,7 @@ private: const OUString& rsPropertyName, const css::beans::PropertyChangeEvent& rEvent); - /** This method throws a DisposedException when the object has already been + /** @throws css::lang::DisposedException when the object has already been disposed. */ void ThrowIfDisposed() diff --git a/sd/source/ui/inc/tools/SlotStateListener.hxx b/sd/source/ui/inc/tools/SlotStateListener.hxx index ce89e1aea80f..d627a174da15 100644 --- a/sd/source/ui/inc/tools/SlotStateListener.hxx +++ b/sd/source/ui/inc/tools/SlotStateListener.hxx @@ -123,7 +123,7 @@ private: */ void ReleaseListeners(); - /** This method throws a DisposedException when the object has already been + /** @throws css::lang::DisposedException when the object has already been disposed. */ void ThrowIfDisposed() diff --git a/sd/source/ui/inc/unomodel.hxx b/sd/source/ui/inc/unomodel.hxx index 0aff34745a0b..82d1a8a0c37e 100644 --- a/sd/source/ui/inc/unomodel.hxx +++ b/sd/source/ui/inc/unomodel.hxx @@ -97,6 +97,7 @@ private: css::uno::Reference<css::uno::XInterface> create( OUString const & aServiceSpecifier, OUString const & referer); + /// @throws css::uno::RuntimeException SdPage* InsertSdPage( sal_uInt16 nPage, bool bDuplicate ) throw (css::uno::RuntimeException, std::exception); @@ -391,6 +392,7 @@ public: virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw (css::uno::RuntimeException, std::exception) override; // intern + /// @throws std::exception SdPage* FindPage( const OUString& rName ) const throw(std::exception); }; diff --git a/sd/source/ui/inc/unopage.hxx b/sd/source/ui/inc/unopage.hxx index f0b983dd353e..0d29682eb957 100644 --- a/sd/source/ui/inc/unopage.hxx +++ b/sd/source/ui/inc/unopage.hxx @@ -71,7 +71,9 @@ protected: const SvxItemPropertySet* mpPropSet; + /// @throws css::lang::IllegalArgumentException virtual void setBackground( const css::uno::Any& rValue ) throw(css::lang::IllegalArgumentException, std::exception); + /// @throws std::exception virtual void getBackground( css::uno::Any& rValue ) throw(std::exception); OUString getBookmarkURL() const; @@ -92,6 +94,7 @@ protected: css::uno::Any getNavigationOrder(); void setNavigationOrder( const css::uno::Any& rValue ); + /// @throws css::uno::RuntimeException void throwIfDisposed() const throw (css::uno::RuntimeException ); public: diff --git a/sd/source/ui/inc/unosrch.hxx b/sd/source/ui/inc/unosrch.hxx index 342b01024ed0..2036051f45ae 100644 --- a/sd/source/ui/inc/unosrch.hxx +++ b/sd/source/ui/inc/unosrch.hxx @@ -89,6 +89,7 @@ protected: OUString maReplaceStr; public: + /// @throws css::uno::RuntimeException SdUnoSearchReplaceDescriptor(bool bReplace) throw (css::uno::RuntimeException); virtual ~SdUnoSearchReplaceDescriptor() throw() override; diff --git a/sd/source/ui/presenter/PresenterCanvas.cxx b/sd/source/ui/presenter/PresenterCanvas.cxx index 44e7ff77c16a..3848ec6faa9b 100644 --- a/sd/source/ui/presenter/PresenterCanvas.cxx +++ b/sd/source/ui/presenter/PresenterCanvas.cxx @@ -99,6 +99,7 @@ private: geometry::RealPoint2D maPosition; geometry::RealSize2D maSpriteSize; + /// @throws css::lang::DisposedException void ThrowIfDisposed() throw (css::lang::DisposedException); }; diff --git a/sd/source/ui/presenter/PresenterCanvas.hxx b/sd/source/ui/presenter/PresenterCanvas.hxx index 019903755d9f..bfe780df31a4 100644 --- a/sd/source/ui/presenter/PresenterCanvas.hxx +++ b/sd/source/ui/presenter/PresenterCanvas.hxx @@ -371,7 +371,7 @@ private: css::rendering::ViewState MergeViewState (const css::rendering::ViewState& rViewState); - /** This method throws a DisposedException when the object has already been + /** @throws css::lang::DisposedException when the object has already been disposed. */ void ThrowIfDisposed() diff --git a/sd/source/ui/presenter/PresenterPreviewCache.hxx b/sd/source/ui/presenter/PresenterPreviewCache.hxx index 958f5b530997..20af28218214 100644 --- a/sd/source/ui/presenter/PresenterPreviewCache.hxx +++ b/sd/source/ui/presenter/PresenterPreviewCache.hxx @@ -97,7 +97,7 @@ private: std::shared_ptr<PresenterCacheContext> mpCacheContext; std::shared_ptr<sd::slidesorter::cache::PageCache> mpCache; - /** This method throws a DisposedException when the object has already been + /** @throws css::lang::DisposedException when the object has already been disposed. */ void ThrowIfDisposed() throw (css::lang::DisposedException); diff --git a/sd/source/ui/presenter/PresenterTextView.hxx b/sd/source/ui/presenter/PresenterTextView.hxx index 164964860e9c..ab70375b13fc 100644 --- a/sd/source/ui/presenter/PresenterTextView.hxx +++ b/sd/source/ui/presenter/PresenterTextView.hxx @@ -68,7 +68,7 @@ private: class Implementation; std::unique_ptr<Implementation> mpImplementation; - /** This method throws a DisposedException when the object has already been + /** @throws css::lang::DisposedException when the object has already been disposed. */ void ThrowIfDisposed() throw (css::lang::DisposedException); diff --git a/sd/source/ui/presenter/SlideRenderer.hxx b/sd/source/ui/presenter/SlideRenderer.hxx index 6a136680614e..ca7de46f9cd7 100644 --- a/sd/source/ui/presenter/SlideRenderer.hxx +++ b/sd/source/ui/presenter/SlideRenderer.hxx @@ -89,13 +89,14 @@ public: private: PreviewRenderer maPreviewRenderer; + /// @throws css::uno::RuntimeException BitmapEx CreatePreview ( const css::uno::Reference<css::drawing::XDrawPage>& rxSlide, const css::awt::Size& rMaximumPreviewPixelSize, sal_Int16 nSuperSampleFactor) throw (css::uno::RuntimeException, std::exception); - /** This method throws a DisposedException when the object has already been + /** @throws css::lang::DisposedException when the object has already been disposed. */ void ThrowIfDisposed() throw (css::lang::DisposedException); diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx index 3234f9ad724f..eebe4c0a0a40 100644 --- a/sd/source/ui/slideshow/slideshowimpl.hxx +++ b/sd/source/ui/slideshow/slideshowimpl.hxx @@ -100,8 +100,10 @@ struct PresentationSettingsEx : public PresentationSettings PresentationSettingsEx( const PresentationSettingsEx& ); explicit PresentationSettingsEx( PresentationSettings& ); + /// @throws css::lang::IllegalArgumentException void SetArguments( const css::uno::Sequence< css::beans::PropertyValue >& rArguments ) throw (css::lang::IllegalArgumentException, std::exception); + /// @throws css::lang::IllegalArgumentException void SetPropertyValue( const OUString& rProperty, const css::uno::Any& rValue ) throw (css::lang::IllegalArgumentException, std::exception); }; @@ -179,6 +181,7 @@ public: virtual void SAL_CALL setPenColor( ::sal_Int32 _pencolor ) throw (css::uno::RuntimeException, std::exception) override; virtual double SAL_CALL getPenWidth() throw (css::uno::RuntimeException, std::exception) override; virtual void SAL_CALL setPenWidth( double dStrokeWidth ) throw (css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException void SAL_CALL setEraseAllInk( bool bEraseAllInk ) throw (css::uno::RuntimeException); virtual sal_Bool SAL_CALL isRunning( ) throw (css::uno::RuntimeException, std::exception) override; virtual ::sal_Int32 SAL_CALL getSlideCount( ) throw (css::uno::RuntimeException, std::exception) override; @@ -217,6 +220,7 @@ public: // will be called from the SlideShowListenerProxy when this event is fired from the XSlideShow void slideEnded(const bool bReverse); + /// @throws css::uno::RuntimeException void hyperLinkClicked(const OUString & hyperLink) throw (css::uno::RuntimeException, std::exception); void click(const css::uno::Reference< css::drawing::XShape > & xShape, const css::awt::MouseEvent & aOriginalEvent); bool swipe(const CommandSwipeData &rSwipeData); @@ -299,6 +303,7 @@ private: void removeShapeEvents(); void registerShapeEvents( sal_Int32 nSlideNumber ); + /// @throws css::uno::Exception void registerShapeEvents( css::uno::Reference< css::drawing::XShapes >& xShapes ) throw (css::uno::Exception, std::exception); static css::uno::Reference< css::presentation::XSlideShow > createSlideShow(); diff --git a/sd/source/ui/slideshow/slideshowviewimpl.hxx b/sd/source/ui/slideshow/slideshowviewimpl.hxx index e7baf9b98d74..0d3eceba2abd 100644 --- a/sd/source/ui/slideshow/slideshowviewimpl.hxx +++ b/sd/source/ui/slideshow/slideshowviewimpl.hxx @@ -105,6 +105,7 @@ public: void addListener( const css::uno::Reference< css::util::XModifyListener >& _rxListener ); void removeListener( const css::uno::Reference< css::util::XModifyListener >& _rxListener ); + /// @throws css::uno::Exception void notify( const css::lang::EventObject& _rEvent ) throw( css::uno::Exception ); void disposing( const css::lang::EventObject& _rEventSource ); @@ -181,6 +182,7 @@ public: /// Disposing our broadcaster virtual void SAL_CALL disposing( const css::lang::EventObject& ) throw(css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException void SAL_CALL paint( const css::awt::PaintEvent& e ) throw (css::uno::RuntimeException); // XSlideShowView methods diff --git a/sd/source/ui/slidesorter/shell/SlideSorterService.hxx b/sd/source/ui/slidesorter/shell/SlideSorterService.hxx index f6e4b1a0a37c..6613b96131e1 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorterService.hxx +++ b/sd/source/ui/slidesorter/shell/SlideSorterService.hxx @@ -183,7 +183,7 @@ private: void Resize(); - /** This method throws a DisposedException when the object has already been + /** @throws css::lang::DisposedException when the object has already been disposed. */ void ThrowIfDisposed() throw (css::lang::DisposedException); diff --git a/sd/source/ui/unoidl/unoobj.hxx b/sd/source/ui/unoidl/unoobj.hxx index a465de1e64d0..75b1389ed9cd 100644 --- a/sd/source/ui/unoidl/unoobj.hxx +++ b/sd/source/ui/unoidl/unoobj.hxx @@ -45,13 +45,19 @@ private: const SfxItemPropertyMapEntry* mpMap; SdXImpressDocument* mpModel; + /// @throws css::lang::IllegalArgumentException + /// @throws css::beans::UnknownPropertyException + /// @throws css::uno::RuntimeException void SetStyleSheet( const css::uno::Any& rAny ) throw( css::lang::IllegalArgumentException, css::beans::UnknownPropertyException, css::uno::RuntimeException ); + /// @throws css::beans::UnknownPropertyException css::uno::Any GetStyleSheet() const throw( css::beans::UnknownPropertyException ); // Intern + /// @throws std::exception SdAnimationInfo* GetAnimationInfo( bool bCreate = false ) const throw (std::exception); + /// @throws std::exception bool IsPresObj() const throw (std::exception); |