summaryrefslogtreecommitdiff
path: root/accessibility/inc/extended
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 18:01:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:26 +0100
commit68044e9ec6d17cac1695b0e87c8430df98ace80e (patch)
treea156709de9f1ac42869365c2a6c9ad64e6fef33a /accessibility/inc/extended
parent079abb8b46a53600352c6f99a391153684ed8a98 (diff)
New loplugin:dynexcspec: Add @throws documentation, accessibility
Change-Id: I4857292372116bd8330403456d415476a5435f11
Diffstat (limited to 'accessibility/inc/extended')
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBoxBase.hxx8
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBoxTable.hxx4
-rw-r--r--accessibility/inc/extended/AccessibleGridControlBase.hxx5
-rw-r--r--accessibility/inc/extended/AccessibleGridControlTable.hxx1
-rw-r--r--accessibility/inc/extended/accessibleiconchoicectrlentry.hxx5
-rw-r--r--accessibility/inc/extended/accessiblelistboxentry.hxx5
-rw-r--r--accessibility/inc/extended/listboxaccessible.hxx2
7 files changed, 26 insertions, 4 deletions
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx b/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx
index dd65a8e6edad..81e81aa91c02 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx
@@ -289,12 +289,16 @@ protected:
/** Locks all mutex's and calculates the bounding box relative to the
parent window.
- @return The bounding box (VCL rect.) relative to the parent object. */
+ @return The bounding box (VCL rect.) relative to the parent object.
+ @throws css::lang::DisposedException
+ */
Rectangle getBoundingBox()
throw ( css::lang::DisposedException );
/** Locks all mutex's and calculates the bounding box in screen
coordinates.
- @return The bounding box (VCL rect.) in screen coordinates. */
+ @return The bounding box (VCL rect.) in screen coordinates.
+ @throws css::lang::DisposedException
+ */
Rectangle getBoundingBoxOnScreen()
throw ( css::lang::DisposedException );
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx b/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx
index 2a2a74128e71..c4a3f01939ee 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx
@@ -137,7 +137,9 @@ protected:
// internal helper methods
/** @attention This method requires a locked mutex.
- @return The XAccessibleTable interface of the specified header bar. */
+ @return The XAccessibleTable interface of the specified header bar.
+ @throws css::uno::RuntimeException
+ */
css::uno::Reference< css::accessibility::XAccessibleTable >
implGetHeaderBar( sal_Int32 nChildIndex )
throw ( css::uno::RuntimeException );
diff --git a/accessibility/inc/extended/AccessibleGridControlBase.hxx b/accessibility/inc/extended/AccessibleGridControlBase.hxx
index 4f05285a6027..3776fb4a0037 100644
--- a/accessibility/inc/extended/AccessibleGridControlBase.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlBase.hxx
@@ -260,12 +260,15 @@ protected:
/** Locks all mutex's and calculates the bounding box relative to the
parent window.
- @return The bounding box (VCL rect.) relative to the parent object. */
+ @return The bounding box (VCL rect.) relative to the parent object.
+ @throws css::lang::DisposedException
+ */
Rectangle getBoundingBox()
throw ( css::lang::DisposedException );
///** Locks all mutex's and calculates the bounding box in screen
// coordinates.
// @return The bounding box (VCL rect.) in screen coordinates. */
+ /// @throws css::lang::DisposedException
Rectangle getBoundingBoxOnScreen()
throw ( css::lang::DisposedException );
diff --git a/accessibility/inc/extended/AccessibleGridControlTable.hxx b/accessibility/inc/extended/AccessibleGridControlTable.hxx
index a2faeb045284..ab88c0284a5e 100644
--- a/accessibility/inc/extended/AccessibleGridControlTable.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlTable.hxx
@@ -195,6 +195,7 @@ protected:
//// internal helper methods
///** @attention This method requires a locked mutex.
// @return The XAccessibleTable interface of the specified header bar. */
+ /// @throws css::uno::RuntimeException
css::uno::Reference< css::accessibility::XAccessibleTable >
implGetHeaderBar( sal_Int32 nChildIndex )
throw ( css::uno::RuntimeException );
diff --git a/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx b/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx
index 66cfc092bed6..6217ea70f43b 100644
--- a/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx
+++ b/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx
@@ -78,12 +78,17 @@ namespace accessibility
bool IsAlive_Impl() const;
bool IsShowing_Impl() const;
+ /// @throws css::lang::DisposedException
+ /// @throws css::uno::RuntimeException
Rectangle GetBoundingBox()
throw (css::lang::DisposedException,
css::uno::RuntimeException);
+ /// @throws css::lang::DisposedException
+ /// @throws css::uno::RuntimeException
Rectangle GetBoundingBoxOnScreen()
throw (css::lang::DisposedException,
css::uno::RuntimeException);
+ /// @throws css::lang::DisposedException
void EnsureIsAlive() const throw ( css::lang::DisposedException );
protected:
diff --git a/accessibility/inc/extended/accessiblelistboxentry.hxx b/accessibility/inc/extended/accessiblelistboxentry.hxx
index 55cb1bb3b440..7b0a49538131 100644
--- a/accessibility/inc/extended/accessiblelistboxentry.hxx
+++ b/accessibility/inc/extended/accessiblelistboxentry.hxx
@@ -94,12 +94,17 @@ namespace accessibility
bool IsAlive_Impl() const;
bool IsShowing_Impl() const;
+ /// @throws css::lang::DisposedException
+ /// @throws css::uno::RuntimeException
Rectangle GetBoundingBox()
throw (css::lang::DisposedException,
css::uno::RuntimeException);
+ /// @throws css::lang::DisposedException
+ /// @throws css::uno::RuntimeException
Rectangle GetBoundingBoxOnScreen()
throw (css::lang::DisposedException,
css::uno::RuntimeException);
+ /// @throws css::lang::DisposedException
void EnsureIsAlive() const throw ( css::lang::DisposedException );
void NotifyAccessibleEvent( sal_Int16 _nEventId, const css::uno::Any& _aOldValue, const css::uno::Any& _aNewValue );
diff --git a/accessibility/inc/extended/listboxaccessible.hxx b/accessibility/inc/extended/listboxaccessible.hxx
index 013644a5e064..58576fd1e0e3 100644
--- a/accessibility/inc/extended/listboxaccessible.hxx
+++ b/accessibility/inc/extended/listboxaccessible.hxx
@@ -57,6 +57,8 @@ namespace accessibility
<p>Usually, you derive your class from both ListBoxAccessibleBase and XComponent,
and call XComponent::dispose here.</p>
+
+ @throws css::uno::RuntimeException
*/
virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) = 0;