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

coverity#1233508 Uncaught exception

Change-Id: Ia77a94a486b8e5203617eb00cb5189359798482f
üst 3101a607
...@@ -161,7 +161,7 @@ bool RenameDialog ( ...@@ -161,7 +161,7 @@ bool RenameDialog (
OUString const& rOldName, OUString const& rOldName,
OUString const& rNewName OUString const& rNewName
) )
throw (ElementExistException, NoSuchElementException, RuntimeException) throw (ElementExistException, NoSuchElementException, RuntimeException, std::exception)
{ {
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 (css::container::ElementExistException, css::container::NoSuchElementException, css::uno::RuntimeException); throw (css::container::ElementExistException, css::container::NoSuchElementException, css::uno::RuntimeException, std::exception);
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