summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:48:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:10 +0100
commit53d6df4f54d92bdb527ff2824561db998695e865 (patch)
treee1031aed2c4d759d6a3f5e3748e4381df60a56d9 /include
parentd9126de425534db6f09a1a7ef5d0e91f26a2c6ea (diff)
New loplugin:dynexcspec: Add @throws documentation, unotools
Change-Id: Ie1adfe09bf5b63adecc0a5a67a042e6e678b58dd
Diffstat (limited to 'include')
-rw-r--r--include/unotools/ZipPackageHelper.hxx2
-rw-r--r--include/unotools/accessiblerelationsethelper.hxx1
-rw-r--r--include/unotools/accessiblestatesethelper.hxx4
3 files changed, 7 insertions, 0 deletions
diff --git a/include/unotools/ZipPackageHelper.hxx b/include/unotools/ZipPackageHelper.hxx
index 77c8b9178a8a..5d245bdc38fa 100644
--- a/include/unotools/ZipPackageHelper.hxx
+++ b/include/unotools/ZipPackageHelper.hxx
@@ -38,10 +38,12 @@ public:
void savePackage();
+ /// @throws css::uno::Exception
void addFile( css::uno::Reference< css::uno::XInterface >& xRootFolder,
const OUString& rSourceFile )
throw( css::uno::Exception, std::exception );
+ /// @throws css::uno::Exception
css::uno::Reference< css::uno::XInterface > addFolder( css::uno::Reference< css::uno::XInterface >& xRootFolder,
const OUString& rName )
throw( css::uno::Exception, std::exception );
diff --git a/include/unotools/accessiblerelationsethelper.hxx b/include/unotools/accessiblerelationsethelper.hxx
index 7f67eb8b2235..4daa4152da4b 100644
--- a/include/unotools/accessiblerelationsethelper.hxx
+++ b/include/unotools/accessiblerelationsethelper.hxx
@@ -113,6 +113,7 @@ public:
getRelationByType( sal_Int16 aRelationType )
throw (css::uno::RuntimeException, std::exception) override;
+ /// @throws uno::RuntimeException
void AddRelation(
const css::accessibility::AccessibleRelation& rRelation)
throw (css::uno::RuntimeException);
diff --git a/include/unotools/accessiblestatesethelper.hxx b/include/unotools/accessiblestatesethelper.hxx
index 7916b74490d6..34133bebb888 100644
--- a/include/unotools/accessiblestatesethelper.hxx
+++ b/include/unotools/accessiblestatesethelper.hxx
@@ -116,11 +116,15 @@ public:
throw (css::uno::RuntimeException, std::exception) override;
/** Adds a state to the set.
+
+ @throws css::uno::RuntimeException
*/
void AddState(sal_Int16 aState)
throw (css::uno::RuntimeException);
/** Removes a state from the set if the set contains the state, otherwise nothing is done.
+
+ @throws css::uno::RuntimeException
*/
void RemoveState(sal_Int16 aState)
throw (css::uno::RuntimeException);