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 --- desktop/source/offacc/acceptor.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'desktop/source/offacc/acceptor.cxx') diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx index 68a26d565fc9..872ef673261b 100644 --- a/desktop/source/offacc/acceptor.cxx +++ b/desktop/source/offacc/acceptor.cxx @@ -125,7 +125,7 @@ void Acceptor::run() // XInitialize void Acceptor::initialize( const Sequence& aArguments ) - throw( Exception ) + throw( Exception, std::exception ) { // prevent multiple initialization osl::ClearableMutexGuard aGuard( m_aMutex ); @@ -181,7 +181,7 @@ OUString Acceptor::impl_getImplementationName() return OUString("com.sun.star.office.comp.Acceptor"); } OUString Acceptor::getImplementationName() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return Acceptor::impl_getImplementationName(); } @@ -192,13 +192,13 @@ Sequence Acceptor::impl_getSupportedServiceNames() return aSequence; } Sequence Acceptor::getSupportedServiceNames() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return Acceptor::impl_getSupportedServiceNames(); } sal_Bool Acceptor::supportsService(OUString const & ServiceName) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { return cppu::supportsService(this, ServiceName); } @@ -225,7 +225,7 @@ AccInstanceProvider::~AccInstanceProvider() } Reference AccInstanceProvider::getInstance (const OUString& aName ) - throw ( NoSuchElementException ) + throw ( NoSuchElementException, std::exception ) { Reference rInstance; -- cgit