coverity#736992 Uncaught exception
Change-Id: Ia074dc867cc068fccb2d4eb613d04b945b8711e7
This commit is contained in:
@@ -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
|
|||||||
*/
|
*/
|
||||||
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 );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user