New loplugin:dynexcspec: Add @throws documentation, cpputools
Change-Id: I7a9ac7cdc3d5e19dc63a4711a0ce2c23054367e1
This commit is contained in:
@@ -84,6 +84,7 @@ static const char arUsingText[] =
|
|||||||
" [--quiet]\n"
|
" [--quiet]\n"
|
||||||
" [-- Argument1 Argument2 ...]\n";
|
" [-- Argument1 Argument2 ...]\n";
|
||||||
|
|
||||||
|
/// @throws RuntimeException
|
||||||
static bool readOption( OUString * pValue, const sal_Char * pOpt,
|
static bool readOption( OUString * pValue, const sal_Char * pOpt,
|
||||||
sal_uInt32 * pnIndex, const OUString & aArg)
|
sal_uInt32 * pnIndex, const OUString & aArg)
|
||||||
throw (RuntimeException)
|
throw (RuntimeException)
|
||||||
@@ -140,6 +141,7 @@ static bool readOption( bool * pbOpt, const sal_Char * pOpt,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// @throws Exception
|
||||||
template< class T >
|
template< class T >
|
||||||
void createInstance(
|
void createInstance(
|
||||||
Reference< T > & rxOut,
|
Reference< T > & rxOut,
|
||||||
@@ -166,6 +168,7 @@ void createInstance(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// @throws Exception
|
||||||
static Reference< XInterface > loadComponent(
|
static Reference< XInterface > loadComponent(
|
||||||
const Reference< XComponentContext > & xContext,
|
const Reference< XComponentContext > & xContext,
|
||||||
const OUString & rImplName, const OUString & rLocation )
|
const OUString & rImplName, const OUString & rLocation )
|
||||||
@@ -251,6 +254,7 @@ class OInstanceProvider
|
|||||||
|
|
||||||
OUString _aInstanceName;
|
OUString _aInstanceName;
|
||||||
|
|
||||||
|
/// @throws Exception
|
||||||
inline Reference< XInterface > createInstance() throw (Exception);
|
inline Reference< XInterface > createInstance() throw (Exception);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user