From d3cd290491f77db35e63d79d94baaaaffb10cd15 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 31 Aug 2014 14:33:10 +0100 Subject: coverity#1233508 Uncaught exception Change-Id: Ia77a94a486b8e5203617eb00cb5189359798482f --- basctl/source/basicide/basobj3.cxx | 2 +- basctl/source/inc/basobj.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'basctl') diff --git a/basctl/source/basicide/basobj3.cxx b/basctl/source/basicide/basobj3.cxx index 1ac3d3d4cc8f..97008a1107f6 100644 --- a/basctl/source/basicide/basobj3.cxx +++ b/basctl/source/basicide/basobj3.cxx @@ -161,7 +161,7 @@ bool RenameDialog ( OUString const& rOldName, OUString const& rNewName ) - throw (ElementExistException, NoSuchElementException, RuntimeException) + throw (ElementExistException, NoSuchElementException, RuntimeException, std::exception) { if ( !rDocument.hasDialog( rLibName, rOldName ) ) { diff --git a/basctl/source/inc/basobj.hxx b/basctl/source/inc/basobj.hxx index 576078a09238..0c6af6cf536a 100644 --- a/basctl/source/inc/basobj.hxx +++ b/basctl/source/inc/basobj.hxx @@ -92,7 +92,7 @@ namespace basctl */ bool RenameDialog( 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 ); -- cgit