diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 13:37:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 20:19:11 +0100 |
commit | 7f49f4227bc5ebc211f91fca1f430774775d44c1 (patch) | |
tree | 47d310135c5a4fe96aafdfe9296c5765346033f8 /basctl | |
parent | 2d4c90e82eb8d67a2f94f40a219723b08cf4c347 (diff) |
coverity#736992 Uncaught exception
Change-Id: Ia074dc867cc068fccb2d4eb613d04b945b8711e7
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 a735a4bd9ab1..ccc1e23cfb6a 100644 --- a/basctl/source/basicide/basobj3.cxx +++ b/basctl/source/basicide/basobj3.cxx @@ -162,7 +162,7 @@ bool RenameDialog ( OUString const& rOldName, OUString const& rNewName ) - throw(ElementExistException, NoSuchElementException) + throw (ElementExistException, NoSuchElementException, RuntimeException) { if ( !rDocument.hasDialog( rLibName, rOldName ) ) { diff --git a/basctl/source/inc/basobj.hxx b/basctl/source/inc/basobj.hxx index ad65561fa3c1..576078a09238 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( ::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 ); |