coverity#736990 Uncaught exception

Change-Id: I3b7f4c732a5a3369c05c75ede1580b32837be671
This commit is contained in:
Caolán McNamara 2014-04-25 13:13:11 +01:00
parent 1a88414f52
commit 2d4c90e82e
2 changed files with 2 additions and 2 deletions

View File

@ -378,7 +378,7 @@ OUString ChooseMacro( const uno::Reference< frame::XModel >& rxLimitToDocument,
} }
Sequence< OUString > GetMethodNames( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName ) Sequence< OUString > GetMethodNames( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName )
throw(NoSuchElementException ) throw (NoSuchElementException, RuntimeException)
{ {
Sequence< OUString > aSeqMethods; Sequence< OUString > aSeqMethods;

View File

@ -79,7 +79,7 @@ namespace basctl
::com::sun::star::uno::Sequence< OUString > GetMethodNames( ::com::sun::star::uno::Sequence< OUString > GetMethodNames(
const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName ) const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName )
throw( ::com::sun::star::container::NoSuchElementException ); throw (css::container::NoSuchElementException, css::uno::RuntimeException);
bool HasMethod( bool HasMethod(
const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName, const OUString& rMethName ); const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName, const OUString& rMethName );