summaryrefslogtreecommitdiff
path: root/include/comphelper/accessiblecomponenthelper.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 18:00:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:24 +0100
commita10b95bcc97896f7f8d8643593a5d759f41ac82d (patch)
tree76cdb3318b9dec6bc0238d6630b1769408e9ae4a /include/comphelper/accessiblecomponenthelper.hxx
parent5b2b75ac26961d3cef093ca546a5316be6f2d782 (diff)
New loplugin:dynexcspec: Add @throws documentation, comphelper
Change-Id: I115c5c34cf97858d9fdd96432cb57bde6d4537cb
Diffstat (limited to 'include/comphelper/accessiblecomponenthelper.hxx')
-rw-r--r--include/comphelper/accessiblecomponenthelper.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/comphelper/accessiblecomponenthelper.hxx b/include/comphelper/accessiblecomponenthelper.hxx
index de445a2ce5bc..5c895d437ae3 100644
--- a/include/comphelper/accessiblecomponenthelper.hxx
+++ b/include/comphelper/accessiblecomponenthelper.hxx
@@ -46,17 +46,25 @@ namespace comphelper
protected:
/// implements the calculation of the bounding rectangle - still waiting to be overwritten
+ ///
+ /// @throws css::uno::RuntimeException
virtual css::awt::Rectangle implGetBounds( ) throw (css::uno::RuntimeException, std::exception) = 0;
protected:
/** non-virtual versions of the methods which can be implemented using <method>implGetBounds</method>
note: getLocationOnScreen relies on a valid parent (XAccessibleContext::getParent()->getAccessibleContext()),
which itself implements XAccessibleComponent
+
+ @throws css::uno::RuntimeException
*/
bool SAL_CALL containsPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
css::awt::Point SAL_CALL getLocation( ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
css::awt::Point SAL_CALL getLocationOnScreen( ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
css::awt::Size SAL_CALL getSize( ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
css::awt::Rectangle SAL_CALL getBounds( ) throw (css::uno::RuntimeException);
};