diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-31 14:33:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-09-02 12:14:46 +0100 |
commit | d3cd290491f77db35e63d79d94baaaaffb10cd15 (patch) | |
tree | 8b17c9d30ded9d068efb0f6dee72bb7ef3469f27 /basctl | |
parent | 3101a60751a220f4192f0d0e3df4096217f4a16c (diff) |
coverity#1233508 Uncaught exception
Change-Id: Ia77a94a486b8e5203617eb00cb5189359798482f
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basobj3.cxx | 2 | ||||
-rw-r--r-- | basctl/source/inc/basobj.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
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 ); |