summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:59:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:23 +0100
commit693b00a6b22c0f3e84316f38d7f2c81e35eecc4d (patch)
treecb47904292a5ad35734dd8e56e268f8f0bb9657e /cpputools
parentd77087577066350d9f26b8736ec1b672dd328cfd (diff)
New loplugin:dynexcspec: Add @throws documentation, cpputools
Change-Id: I7a9ac7cdc3d5e19dc63a4711a0ce2c23054367e1
Diffstat (limited to 'cpputools')
-rw-r--r--cpputools/source/unoexe/unoexe.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx
index a8ddbdf22a07..f6880fd8f560 100644
--- a/cpputools/source/unoexe/unoexe.cxx
+++ b/cpputools/source/unoexe/unoexe.cxx
@@ -84,6 +84,7 @@ static const char arUsingText[] =
" [--quiet]\n"
" [-- Argument1 Argument2 ...]\n";
+/// @throws RuntimeException
static bool readOption( OUString * pValue, const sal_Char * pOpt,
sal_uInt32 * pnIndex, const OUString & aArg)
throw (RuntimeException)
@@ -140,6 +141,7 @@ static bool readOption( bool * pbOpt, const sal_Char * pOpt,
return false;
}
+/// @throws Exception
template< class T >
void createInstance(
Reference< T > & rxOut,
@@ -166,6 +168,7 @@ void createInstance(
}
}
+/// @throws Exception
static Reference< XInterface > loadComponent(
const Reference< XComponentContext > & xContext,
const OUString & rImplName, const OUString & rLocation )
@@ -251,6 +254,7 @@ class OInstanceProvider
OUString _aInstanceName;
+ /// @throws Exception
inline Reference< XInterface > createInstance() throw (Exception);
public: