diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:00:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:25 +0100 |
commit | ff46e5335896903fd9f20f321b96b7e5b72cda5d (patch) | |
tree | eb096576958ce2a4b4f8d1957d86522f60545f54 /basctl | |
parent | 0f5da9c1c6e3e29de46f9ad48864945074004586 (diff) |
New loplugin:dynexcspec: Add @throws documentation, basctl
Change-Id: I34a1b868176f26c1bab841547b97bca56113e47e
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/unomodel.hxx | 2 | ||||
-rw-r--r-- | basctl/source/inc/basobj.hxx | 6 | ||||
-rw-r--r-- | basctl/source/inc/dlgedobj.hxx | 7 |
3 files changed, 15 insertions, 0 deletions
diff --git a/basctl/source/basicide/unomodel.hxx b/basctl/source/basicide/unomodel.hxx index bb64ca0a9b52..baea50903f83 100644 --- a/basctl/source/basicide/unomodel.hxx +++ b/basctl/source/basicide/unomodel.hxx @@ -28,6 +28,7 @@ namespace basctl class SIDEModel : public SfxBaseModel, public com::sun::star::lang::XServiceInfo { + /// @throws css::io::IOException static void notImplemented() throw ( css::io::IOException ); public: explicit SIDEModel(SfxObjectShell *pObjSh = nullptr); @@ -64,6 +65,7 @@ public: static OUString getImplementationName_Static(); }; +/// @throws com::sun::star::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL SIDEModel_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( com::sun::star::uno::Exception ); diff --git a/basctl/source/inc/basobj.hxx b/basctl/source/inc/basobj.hxx index 1dd039d4ce81..91bc5507c96d 100644 --- a/basctl/source/inc/basobj.hxx +++ b/basctl/source/inc/basobj.hxx @@ -81,6 +81,8 @@ namespace basctl bool bChooseOnly, const OUString& rMacroDesc ) { return ChooseMacro(rxLimitToDocument, css::uno::Reference< css::frame::XFrame >(), bChooseOnly, rMacroDesc); } + /// @throws css::container::NoSuchElementException + /// @throws css::uno::RuntimeException css::uno::Sequence< OUString > GetMethodNames( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName ) throw (css::container::NoSuchElementException, css::uno::RuntimeException, std::exception); @@ -93,6 +95,10 @@ namespace basctl /** renames a dialog Will show an error message when renaming fails because the new name is already used. + + @throws css::container::ElementExistException + @throws css::container::NoSuchElementException + @throws css::uno::RuntimeException */ bool RenameDialog( vcl::Window* pErrorParent, const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rOldName, const OUString& rNewName ) diff --git a/basctl/source/inc/dlgedobj.hxx b/basctl/source/inc/dlgedobj.hxx index 3eb50a29eb75..34393d42332e 100644 --- a/basctl/source/inc/dlgedobj.hxx +++ b/basctl/source/inc/dlgedobj.hxx @@ -115,15 +115,22 @@ public: css::uno::Reference< css::awt::XControl > GetControl() const; virtual void PositionAndSizeChange( const css::beans::PropertyChangeEvent& evt ); + /// @throws css::container::NoSuchElementException + /// @throws css::uno::RuntimeException void SAL_CALL NameChange( const css::beans::PropertyChangeEvent& evt ) throw(css::container::NoSuchElementException, css::uno::RuntimeException); + /// @throws css::uno::RuntimeException void SAL_CALL TabIndexChange( const css::beans::PropertyChangeEvent& evt ) throw( css::uno::RuntimeException); // PropertyChangeListener + /// @throws css::uno::RuntimeException void SAL_CALL _propertyChange(const css::beans::PropertyChangeEvent& evt) throw (css::uno::RuntimeException, std::exception); // ContainerListener + /// @throws css::uno::RuntimeException void SAL_CALL _elementInserted( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException void SAL_CALL _elementReplaced( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException void SAL_CALL _elementRemoved( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException); virtual void SetLayer(SdrLayerID nLayer) override; |