Kaydet (Commit) 7f49f422 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#736992 Uncaught exception

Change-Id: Ia074dc867cc068fccb2d4eb613d04b945b8711e7
üst 2d4c90e8
...@@ -162,7 +162,7 @@ bool RenameDialog ( ...@@ -162,7 +162,7 @@ bool RenameDialog (
OUString const& rOldName, OUString const& rOldName,
OUString const& rNewName OUString const& rNewName
) )
throw(ElementExistException, NoSuchElementException) throw (ElementExistException, NoSuchElementException, RuntimeException)
{ {
if ( !rDocument.hasDialog( rLibName, rOldName ) ) if ( !rDocument.hasDialog( rLibName, rOldName ) )
{ {
......
...@@ -92,7 +92,7 @@ namespace basctl ...@@ -92,7 +92,7 @@ namespace basctl
*/ */
bool RenameDialog( bool RenameDialog(
Window* pErrorParent, const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rOldName, const OUString& rNewName ) Window* pErrorParent, const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rOldName, const OUString& rNewName )
throw( ::com::sun::star::container::ElementExistException, ::com::sun::star::container::NoSuchElementException ); throw (css::container::ElementExistException, css::container::NoSuchElementException, css::uno::RuntimeException);
bool RemoveDialog( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rDlgName ); bool RemoveDialog( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rDlgName );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment