diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 13:13:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 14:56:21 +0000 |
commit | 8bda341061950be7663eb9ed3ce6b1dc7a5e1f53 (patch) | |
tree | c9d5ce4639a764e7c6467a5286d980cc88d871b2 /fpicker | |
parent | 7426c9d86974ac7c0d64a669819f555b0e74ba55 (diff) |
coverity#737162 Uncaught exception
Change-Id: I4ddc477a76f8807586b2dd700ac5559f052ccaa5
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.cxx | 4 | ||||
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.hxx | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index 241377b42fb2..524330925954 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -519,7 +519,9 @@ void SAL_CALL SvtFilePicker::setDialogTitle( const OUString& _rTitle ) throw (Ru } //------------------------------------------------------------------------------------ -void SAL_CALL SvtFilePicker::startExecuteModal( const Reference< ::com::sun::star::ui::dialogs::XDialogClosedListener >& xListener ) throw (RuntimeException) +void SAL_CALL SvtFilePicker::startExecuteModal( const Reference< ::com::sun::star::ui::dialogs::XDialogClosedListener >& xListener ) + throw (RuntimeException, + std::exception) { m_xDlgClosedListener = xListener; prepareDialog(); diff --git a/fpicker/source/office/OfficeFilePicker.hxx b/fpicker/source/office/OfficeFilePicker.hxx index 4feadbe1031f..88ea346e5162 100644 --- a/fpicker/source/office/OfficeFilePicker.hxx +++ b/fpicker/source/office/OfficeFilePicker.hxx @@ -106,7 +106,9 @@ public: // XAsynchronousExecutableDialog functions //------------------------------------------------------------------------------------ virtual void SAL_CALL setDialogTitle( const OUString& _rTitle ) throw (::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL startExecuteModal( const ::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XDialogClosedListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL startExecuteModal( const ::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XDialogClosedListener >& xListener ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); //------------------------------------------------------------------------------------ // XFilePicker functions |