diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:00:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:24 +0100 |
commit | ea88107a65e93cde3729c46a4cc738ce396890ca (patch) | |
tree | 0eaad842d0cef5982845220e2c6740e1d3a60cfa /chart2/source/controller | |
parent | 2b385f20e7ddefd37f4ad6080b869c2120e67435 (diff) |
New loplugin:dynexcspec: Add @throws documentation, chart2
Change-Id: I9b558b713186c64054914ebfc4c122ff769b71a1
Diffstat (limited to 'chart2/source/controller')
6 files changed, 25 insertions, 0 deletions
diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.hxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.hxx index 9eb67a824604..4017385040b9 100644 --- a/chart2/source/controller/chartapiwrapper/TitleWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.hxx @@ -91,6 +91,7 @@ protected: // character properties have to be handled differently (via the XFormattedString elements) void getFastCharacterPropertyValue( sal_Int32 nHandle, css::uno::Any& rValue ); + /// @throws css::uno::Exception void setFastCharacterPropertyValue( sal_Int32 nHandle, const css::uno::Any& rValue ) throw (css::uno::Exception); diff --git a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx index 4722e516f8d1..164731da68ca 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx @@ -66,8 +66,16 @@ public: throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; protected: //methods + /// @throws css::beans::UnknownPropertyException + /// @throws css::beans::PropertyVetoException + /// @throws css::lang::IllegalArgumentException + /// @throws css::lang::WrappedTargetException + /// @throws css::uno::RuntimeException void setPropertyValue( tScaleProperty eScaleProperty, const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException); + /// @throws css::beans::UnknownPropertyException + /// @throws css::lang::WrappedTargetException + /// @throws css::uno::RuntimeException css::uno::Any getPropertyValue( tScaleProperty eScaleProperty, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException); diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.hxx b/chart2/source/controller/dialogs/ChartTypeDialogController.hxx index ec36f07ddff0..39647f97a580 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.hxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.hxx @@ -111,6 +111,7 @@ public: virtual void fillExtraControls( const ChartTypeParameter& rParameter , const css::uno::Reference< css::chart2::XChartDocument >& xChartModel , const css::uno::Reference< css::beans::XPropertySet >& xTemplateProps ) const; + /// @throws css::uno::RuntimeException virtual void setTemplateProperties( const css::uno::Reference< css::beans::XPropertySet >& xTemplateProps ) const throw (css::uno::RuntimeException); bool isSubType( const OUString& rServiceName ); diff --git a/chart2/source/controller/inc/AccessibleBase.hxx b/chart2/source/controller/inc/AccessibleBase.hxx index dd95d8a0dc60..d822c39111bc 100644 --- a/chart2/source/controller/inc/AccessibleBase.hxx +++ b/chart2/source/controller/inc/AccessibleBase.hxx @@ -113,6 +113,7 @@ protected: object is already disposed @return true, if the component is already disposed and bThrowException is false, false otherwise + @throws css::lang::DisposedException */ bool CheckDisposeState( bool bThrowException = true ) const throw (css::lang::DisposedException); @@ -132,11 +133,15 @@ protected: bool NotifyEvent( EventType eType, const AccessibleUniqueId & rId ); /** Adds a state to the set. + + @throws css::uno::RuntimeException */ void AddState( sal_Int16 aState ) throw (css::uno::RuntimeException); /** Removes a state from the set if the set contains the state, otherwise nothing is done. + + @throws css::uno::RuntimeException */ void RemoveState( sal_Int16 aState ) throw (css::uno::RuntimeException); @@ -200,6 +205,9 @@ protected: /** Is called from getAccessibleChild(). Before this method is called, an update of children is done if necessary. + + @throws css::lang::IndexOutOfBoundsException + @throws css::uno::RuntimeException */ virtual css::uno::Reference< css::accessibility::XAccessible > ImplGetAccessibleChildById( sal_Int32 i ) const @@ -208,6 +216,8 @@ protected: /** Is called from getAccessibleChildCount(). Before this method is called, an update of children is done if necessary. + + @throws css::uno::RuntimeException */ virtual sal_Int32 ImplGetAccessibleChildCount() const throw (css::uno::RuntimeException); diff --git a/chart2/source/controller/inc/ChartDocumentWrapper.hxx b/chart2/source/controller/inc/ChartDocumentWrapper.hxx index c0112a85f1ba..3cf3aa7a8f99 100644 --- a/chart2/source/controller/inc/ChartDocumentWrapper.hxx +++ b/chart2/source/controller/inc/ChartDocumentWrapper.hxx @@ -80,6 +80,7 @@ public: css::uno::Reference< css::drawing::XShapes > getAdditionalShapes() const; + /// @throws css::uno::RuntimeException css::uno::Reference< css::drawing::XDrawPage > impl_getDrawPage() const throw (css::uno::RuntimeException); diff --git a/chart2/source/controller/inc/ItemConverter.hxx b/chart2/source/controller/inc/ItemConverter.hxx index df54e141a37c..5763318669eb 100644 --- a/chart2/source/controller/inc/ItemConverter.hxx +++ b/chart2/source/controller/inc/ItemConverter.hxx @@ -145,6 +145,8 @@ protected: false. The default implementation does nothing except showing an assertion + + @throws css::uno::Exception */ virtual void FillSpecialItem( sal_uInt16 nWhichId, SfxItemSet & rOutItemSet ) const throw (css::uno::Exception, std::exception); @@ -157,6 +159,8 @@ protected: The default implementation returns just false and shows an assertion @return true if the item changed a property, false otherwise. + + @throws css::uno::Exception */ virtual bool ApplySpecialItem( sal_uInt16 nWhichId, const SfxItemSet & rItemSet ) throw( css::uno::Exception ); |