summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-13 13:05:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-13 14:56:20 +0000
commit5adc8214e5ac1d1fde138a4e5183c0fcbaf9120c (patch)
treeef464e446fbed474d4aeb36fdb0430b7b43c322e
parent65e5ce2c31803065551744ef1fa7b9572529aa45 (diff)
coverity#737107 Uncaught exception
Change-Id: Ia0906af52b217506e63138565cc0eb08842aaef1
-rw-r--r--extensions/source/bibliography/framectr.cxx4
-rw-r--r--extensions/source/bibliography/framectr.hxx4
2 files changed, 6 insertions, 2 deletions
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx
index 9b98bce86bb8..f0cfc96c3e46 100644
--- a/extensions/source/bibliography/framectr.cxx
+++ b/extensions/source/bibliography/framectr.cxx
@@ -414,7 +414,9 @@ static Window* lcl_GetFocusChild( Window* pParent )
}
//class XDispatch
-void BibFrameController_Impl::dispatch(const util::URL& _rURL, const uno::Sequence< beans::PropertyValue >& aArgs) throw (::com::sun::star::uno::RuntimeException)
+void BibFrameController_Impl::dispatch(const util::URL& _rURL, const uno::Sequence< beans::PropertyValue >& aArgs)
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception)
{
if ( !bDisposing )
{
diff --git a/extensions/source/bibliography/framectr.hxx b/extensions/source/bibliography/framectr.hxx
index 940095af3132..853f960e63e3 100644
--- a/extensions/source/bibliography/framectr.hxx
+++ b/extensions/source/bibliography/framectr.hxx
@@ -108,7 +108,9 @@ public:
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > > SAL_CALL queryDispatches( const ::com::sun::star::uno::Sequence< ::com::sun::star::frame::DispatchDescriptor >& aDescripts) throw (::com::sun::star::uno::RuntimeException);
//class ::com::sun::star::frame::XDispatch
- virtual void SAL_CALL dispatch(const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL dispatch(const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs)
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual void SAL_CALL addStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xControl, const ::com::sun::star::util::URL& aURL)
throw (::com::sun::star::uno::RuntimeException,
std::exception);