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 --- ucb/source/ucp/ext/ucpext_content.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ucb/source/ucp/ext/ucpext_content.hxx') diff --git a/ucb/source/ucp/ext/ucpext_content.hxx b/ucb/source/ucp/ext/ucpext_content.hxx index 9fbea8a55833..50f55307c6d6 100644 --- a/ucb/source/ucp/ext/ucpext_content.hxx +++ b/ucb/source/ucp/ext/ucpext_content.hxx @@ -90,11 +90,11 @@ namespace ucb { namespace ucp { namespace ext virtual ~Content(); // XServiceInfo - virtual OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException); + virtual OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException, std::exception); + virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException, std::exception); // XContent - virtual OUString SAL_CALL getContentType() throw( com::sun::star::uno::RuntimeException ); + virtual OUString SAL_CALL getContentType() throw( com::sun::star::uno::RuntimeException, std::exception ); // XCommandProcessor virtual com::sun::star::uno::Any SAL_CALL @@ -105,14 +105,14 @@ namespace ucb { namespace ucp { namespace ext ) throw ( ::com::sun::star::uno::Exception , ::com::sun::star::ucb::CommandAbortedException - , ::com::sun::star::uno::RuntimeException + , ::com::sun::star::uno::RuntimeException, std::exception ); virtual void SAL_CALL abort( sal_Int32 CommandId ) - throw ( ::com::sun::star::uno::RuntimeException + throw ( ::com::sun::star::uno::RuntimeException, std::exception ); private: -- cgit