From 5e21a413c788f839a66d9e4c14e745ed18058db8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 25 Feb 2014 21:31:58 +0100 Subject: cppuhelper: retrofit std::exception into overriding exception specs Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3 --- svx/source/dialog/rubydialog.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'svx/source/dialog/rubydialog.cxx') diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index 04c0c8f57f64..b5f5a0965f95 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -119,8 +119,8 @@ class SvxRubyData_Impl : public cppu::WeakImplHelper1 Sequence& GetRubyValues() {return aRubyValues;} void AssertOneEntry(); - virtual void SAL_CALL selectionChanged( const ::com::sun::star::lang::EventObject& aEvent ) throw (RuntimeException); - virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (RuntimeException); + virtual void SAL_CALL selectionChanged( const ::com::sun::star::lang::EventObject& aEvent ) throw (RuntimeException, std::exception); + virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (RuntimeException, std::exception); }; @@ -155,12 +155,12 @@ void SvxRubyData_Impl::SetController(Reference xCtrl) } } -void SvxRubyData_Impl::selectionChanged( const EventObject& ) throw (RuntimeException) +void SvxRubyData_Impl::selectionChanged( const EventObject& ) throw (RuntimeException, std::exception) { bHasSelectionChanged = true; } -void SvxRubyData_Impl::disposing( const EventObject&) throw (RuntimeException) +void SvxRubyData_Impl::disposing( const EventObject&) throw (RuntimeException, std::exception) { try { -- cgit