diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:49:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:12 +0100 |
commit | 77894947ea5fcae00d8eeaee9482b53adfc6b7f2 (patch) | |
tree | e6241078576fa659190fbc7e1baffcb43056ab38 /include/toolkit | |
parent | 1d5372daac88346d59c2bf6a14ec9dd9ce6eb1bc (diff) |
New loplugin:dynexcspec: Add @throws documentation, toolkit
Change-Id: I73b7408b92ed13d5d23e054f27c5236de67f1ce4
Diffstat (limited to 'include/toolkit')
-rw-r--r-- | include/toolkit/awt/vclxwindows.hxx | 7 | ||||
-rw-r--r-- | include/toolkit/controls/controlmodelcontainerbase.hxx | 4 | ||||
-rw-r--r-- | include/toolkit/helper/vclunohelper.hxx | 1 |
3 files changed, 12 insertions, 0 deletions
diff --git a/include/toolkit/awt/vclxwindows.hxx b/include/toolkit/awt/vclxwindows.hxx index 4a1da04f57b9..f0e814201572 100644 --- a/include/toolkit/awt/vclxwindows.hxx +++ b/include/toolkit/awt/vclxwindows.hxx @@ -463,6 +463,7 @@ public: // css::awt::XVclWindowPeer void SAL_CALL setProperty( const OUString& PropertyName, const css::uno::Any& Value ) throw(css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException TabPage* getTabPage() const throw ( css::uno::RuntimeException); static void ImplGetPropertyIds( std::vector< sal_uInt16 > &aIds ); virtual void GetPropertyIds( std::vector< sal_uInt16 > &aIds ) override { return ImplGetPropertyIds( aIds ); } @@ -512,6 +513,7 @@ public: virtual void SAL_CALL addTabListener( const css::uno::Reference< css::awt::XTabListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override; virtual void SAL_CALL removeTabListener( const css::uno::Reference< css::awt::XTabListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override; // C++ + /// @throws css::uno::RuntimeException TabControl* getTabControl() const throw ( css::uno::RuntimeException); sal_uInt16 insertTab( TabPage*, OUString& sTitle ); static void ImplGetPropertyIds( std::vector< sal_uInt16 > &aIds ); @@ -656,7 +658,9 @@ public: sal_Int32 SAL_CALL getOrientation( ) throw(css::uno::RuntimeException, std::exception) override; // why isn't this part of the XScrollbar? + /// @throws css::uno::RuntimeException void SAL_CALL setMinimum( sal_Int32 n ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException sal_Int32 SAL_CALL getMinimum( ) throw(css::uno::RuntimeException); // css::awt::VclWindowPeer @@ -665,6 +669,7 @@ public: // css::awt::XLayoutConstrains css::awt::Size SAL_CALL getMinimumSize() throw(css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static css::awt::Size SAL_CALL implGetMinimumSize( vcl::Window* p ) throw(css::uno::RuntimeException); static void ImplGetPropertyIds( std::vector< sal_uInt16 > &aIds ); @@ -1093,7 +1098,9 @@ class MetricField; class VCLXMetricField : public css::awt::XMetricField, public VCLXFormattedSpinField { + /// @throws css::uno::RuntimeException MetricFormatter *GetMetricFormatter() throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException MetricField *GetMetricField() throw(css::uno::RuntimeException); void CallListeners(); public: diff --git a/include/toolkit/controls/controlmodelcontainerbase.hxx b/include/toolkit/controls/controlmodelcontainerbase.hxx index 5b90a02251a7..eaa5c49da86b 100644 --- a/include/toolkit/controls/controlmodelcontainerbase.hxx +++ b/include/toolkit/controls/controlmodelcontainerbase.hxx @@ -98,6 +98,10 @@ protected: UnoControlModelHolderList::iterator ImplFindElement( const OUString& rName ); + /// @throws css::lang::IllegalArgumentException + /// @throws css::container::ElementExistException + /// @throws css::lang::WrappedTargetException + /// @throws css::uno::RuntimeException void updateUserFormChildren( const css::uno::Reference< css::container::XNameContainer >& xAllChildren, const OUString& aName, ChildOperation Operation, const css::uno::Reference< css::awt::XControlModel >& xTarget ) throw(css::lang::IllegalArgumentException, css::container::ElementExistException, css::lang::WrappedTargetException, css::uno::RuntimeException); public: ControlModelContainerBase( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); diff --git a/include/toolkit/helper/vclunohelper.hxx b/include/toolkit/helper/vclunohelper.hxx index c9b062e2d4f0..eda020653e04 100644 --- a/include/toolkit/helper/vclunohelper.hxx +++ b/include/toolkit/helper/vclunohelper.hxx @@ -129,6 +129,7 @@ public: static sal_Int16 ConvertToMeasurementUnit( FieldUnit _nFieldUnit, sal_Int16 _rFieldToUNOValueFactor ); static FieldUnit ConvertToFieldUnit( sal_Int16 _nMeasurementUnit, sal_Int16& _rFieldToUNOValueFactor ); + /// @throws css::lang::IllegalArgumentException static MapUnit /* MapModeUnit */ ConvertToMapModeUnit(sal_Int16 /* com.sun.star.util.MeasureUnit.* */ _nMeasureUnit) throw (css::lang::IllegalArgumentException); static ::Size /* VCLSize */ ConvertToVCLSize(css::awt::Size const& _aSize); |