diff options
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: |