summaryrefslogtreecommitdiff
path: root/basctl/source/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 18:00:56 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:25 +0100
commitff46e5335896903fd9f20f321b96b7e5b72cda5d (patch)
treeeb096576958ce2a4b4f8d1957d86522f60545f54 /basctl/source/inc
parent0f5da9c1c6e3e29de46f9ad48864945074004586 (diff)
New loplugin:dynexcspec: Add @throws documentation, basctl
Change-Id: I34a1b868176f26c1bab841547b97bca56113e47e
Diffstat (limited to 'basctl/source/inc')
-rw-r--r--basctl/source/inc/basobj.hxx6
-rw-r--r--basctl/source/inc/dlgedobj.hxx7
2 files changed, 13 insertions, 0 deletions
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;