summaryrefslogtreecommitdiff
path: root/include/framework
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:57:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:20 +0100
commitfba7a44ee479540ba65b41ef1e647cdb93c20d14 (patch)
tree1926722f0707f008df833c30e178a44163953e85 /include/framework
parentcbf61ee5652573f7c18065c477598edf1e14156b (diff)
New loplugin:dynexcspec: Add @throws documentation, framework
Change-Id: I19a4517449be3defe97fe0d78dd1a16b08b79247
Diffstat (limited to 'include/framework')
-rw-r--r--include/framework/dispatchhelper.hxx2
-rw-r--r--include/framework/menuconfiguration.hxx4
2 files changed, 6 insertions, 0 deletions
diff --git a/include/framework/dispatchhelper.hxx b/include/framework/dispatchhelper.hxx
index 3cca78c6a90a..df8ff3bfa8d8 100644
--- a/include/framework/dispatchhelper.hxx
+++ b/include/framework/dispatchhelper.hxx
@@ -83,6 +83,7 @@ class FWE_DLLPUBLIC DispatchHelper : public ::cppu::WeakImplHelper< css::lang::X
void SAL_CALL impl_initService ( );
// Helper for registry
+ /// @throws css::uno::Exception
static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ) throw( css::uno::Exception );
static css::uno::Reference< css::lang::XSingleServiceFactory > SAL_CALL impl_createFactory ( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager );
@@ -97,6 +98,7 @@ class FWE_DLLPUBLIC DispatchHelper : public ::cppu::WeakImplHelper< css::lang::X
throw(css::uno::RuntimeException, std::exception) override;
// not a public XDispatchHelper-method, need in sfx2/source/control/statcach.cxx for extensions
+ /// @throws css::uno::RuntimeException
css::uno::Any SAL_CALL executeDispatch(
const css::uno::Reference< css::frame::XDispatch >& xDispatch ,
const css::util::URL& aURL ,
diff --git a/include/framework/menuconfiguration.hxx b/include/framework/menuconfiguration.hxx
index 4e434d81e068..94de3ec59397 100644
--- a/include/framework/menuconfiguration.hxx
+++ b/include/framework/menuconfiguration.hxx
@@ -103,10 +103,14 @@ public:
~MenuConfiguration();
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
css::uno::Reference< css::container::XIndexAccess > CreateMenuBarConfigurationFromXML(
css::uno::Reference< css::io::XInputStream >& rInputStream )
throw (css::lang::WrappedTargetException, css::uno::RuntimeException);
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
void StoreMenuBarConfigurationToXML(
css::uno::Reference< css::container::XIndexAccess >& rMenuBarConfiguration,
css::uno::Reference< css::io::XOutputStream >& rOutputStream,