diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:52:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:14 +0100 |
commit | 7b79e23260db34f2bb0a2994a5e64dd39117228c (patch) | |
tree | 587b3c62ca67ee04e742e7856bf2bb169e72659c /scripting/source/provider | |
parent | 920f1dd4a77b887f79a24b76adf0d25f00551056 (diff) |
New loplugin:dynexcspec: Add @throws documentation, scripting
Change-Id: I3a3f8ad12bad448f0ea2beb698cf4e6636d4595a
Diffstat (limited to 'scripting/source/provider')
-rw-r--r-- | scripting/source/provider/BrowseNodeFactoryImpl.hxx | 1 | ||||
-rw-r--r-- | scripting/source/provider/MasterScriptProvider.hxx | 1 | ||||
-rw-r--r-- | scripting/source/provider/ProviderCache.hxx | 5 | ||||
-rw-r--r-- | scripting/source/provider/URIHelper.hxx | 2 |
4 files changed, 8 insertions, 1 deletions
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.hxx b/scripting/source/provider/BrowseNodeFactoryImpl.hxx index 3a87e2d3dee7..db5f4a8ef233 100644 --- a/scripting/source/provider/BrowseNodeFactoryImpl.hxx +++ b/scripting/source/provider/BrowseNodeFactoryImpl.hxx @@ -67,6 +67,7 @@ public: createView( sal_Int16 viewType ) throw ( css::uno::RuntimeException, std::exception ) override; private: + /// @throws css::uno::RuntimeException css::uno::Reference< css::script::browse::XBrowseNode > getOrganizerHierarchy() throw ( css::uno::RuntimeException ); diff --git a/scripting/source/provider/MasterScriptProvider.hxx b/scripting/source/provider/MasterScriptProvider.hxx index 989441a8403c..47ba9689ac8d 100644 --- a/scripting/source/provider/MasterScriptProvider.hxx +++ b/scripting/source/provider/MasterScriptProvider.hxx @@ -49,6 +49,7 @@ class MasterScriptProvider : public t_helper { public: + /// @throws css::uno::RuntimeException explicit MasterScriptProvider( const css::uno::Reference< css::uno::XComponentContext > & xContext ) throw( css::uno::RuntimeException ); diff --git a/scripting/source/provider/ProviderCache.hxx b/scripting/source/provider/ProviderCache.hxx index af244796dc40..967f50cef269 100644 --- a/scripting/source/provider/ProviderCache.hxx +++ b/scripting/source/provider/ProviderCache.hxx @@ -52,20 +52,25 @@ class ProviderCache { public: + /// @throws css::uno::RuntimeException ProviderCache( const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Sequence< css::uno::Any >& scriptContext ) throw ( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException ProviderCache( const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Sequence< css::uno::Any >& scriptContext, const css::uno::Sequence< OUString >& blackList ) throw ( css::uno::RuntimeException ); ~ProviderCache(); css::uno::Reference< css::script::provider::XScriptProvider > getProvider( const OUString& providerName ); + /// @throws css::uno::RuntimeException css::uno::Sequence < css::uno::Reference< css::script::provider::XScriptProvider > > getAllProviders() throw ( css::uno::RuntimeException ); private: + /// @throws css::uno::RuntimeException void populateCache() throw ( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException css::uno::Reference< css::script::provider::XScriptProvider > createProvider( ProviderDetails& details ) throw ( css::uno::RuntimeException ); bool isInBlackList( const OUString& serviceName ) diff --git a/scripting/source/provider/URIHelper.hxx b/scripting/source/provider/URIHelper.hxx index e23e840b0847..5cd5a3c7e47d 100644 --- a/scripting/source/provider/URIHelper.hxx +++ b/scripting/source/provider/URIHelper.hxx @@ -56,7 +56,7 @@ private: static OUString getLanguagePath(const OUString& rLanguagePart); public: - + /// @throws css::uno::RuntimeException explicit ScriptingFrameworkURIHelper( const css::uno::Reference< css::uno::XComponentContext >& xContext ) throw( css::uno::RuntimeException ); |