diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:59:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:23 +0100 |
commit | 0d5e1cd497b0de0e62c5911fcd6b473689a1dfe7 (patch) | |
tree | e790935593f6a5b182b303f58f3d9828219134fa /cppuhelper/source | |
parent | 693b00a6b22c0f3e84316f38d7f2c81e35eecc4d (diff) |
New loplugin:dynexcspec: Add @throws documentation, cppuhelper
Change-Id: I20b40d0d465cfe130e03f7a8f8da6f4dab404848
Diffstat (limited to 'cppuhelper/source')
-rw-r--r-- | cppuhelper/source/factory.cxx | 4 | ||||
-rw-r--r-- | cppuhelper/source/weak.cxx | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index 891db88d2266..49db5466f449 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -112,6 +112,8 @@ protected: * Create an instance specified by the factory. The one instance logic is implemented * in the createInstance and createInstanceWithArguments methods. * @return the newly created instance. Do not return a previous (one instance) instance. + * @throw css::uno::Exception + * @throw css::uno::RuntimeException */ virtual Reference<XInterface > createInstanceEveryTime( Reference< XComponentContext > const & xContext ) @@ -529,6 +531,8 @@ public: private: + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException Reference< XInterface > createModuleFactory() throw(css::uno::Exception, css::uno::RuntimeException); diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx index 3ffaba14ce23..a30700bdd691 100644 --- a/cppuhelper/source/weak.cxx +++ b/cppuhelper/source/weak.cxx @@ -74,6 +74,8 @@ public: void SAL_CALL removeReference( const css::uno::Reference< css::uno::XReference >& xRef ) throw(css::uno::RuntimeException, std::exception) override; /// Called from the weak object if the reference count goes to zero. + /// + /// @throws css::uno::RuntimeException void SAL_CALL dispose() throw(css::uno::RuntimeException); private: |