diff options
Diffstat (limited to 'sd/source/ui/inc')
-rw-r--r-- | sd/source/ui/inc/AccessibleSlideSorterObject.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/AccessibleSlideSorterView.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/DrawController.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/SdUnoDrawView.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/inc/facreg.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/Configuration.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/ConfigurationController.hxx | 3 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/ModuleController.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/Pane.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/PresentationFactory.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/inc/slideshow.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/inc/tools/PropertySet.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/tools/SlotStateListener.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/unomodel.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/unopage.hxx | 3 | ||||
-rw-r--r-- | sd/source/ui/inc/unosrch.hxx | 1 |
16 files changed, 31 insertions, 2 deletions
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; |