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 --- formula/source/core/api/FormulaOpCodeMapperObj.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'formula') diff --git a/formula/source/core/api/FormulaOpCodeMapperObj.cxx b/formula/source/core/api/FormulaOpCodeMapperObj.cxx index f7972622956a..5661f9f698be 100644 --- a/formula/source/core/api/FormulaOpCodeMapperObj.cxx +++ b/formula/source/core/api/FormulaOpCodeMapperObj.cxx @@ -25,7 +25,7 @@ namespace formula { using namespace ::com::sun::star; -sal_Bool SAL_CALL FormulaOpCodeMapperObj::supportsService( const OUString& _rServiceName ) throw(uno::RuntimeException) +sal_Bool SAL_CALL FormulaOpCodeMapperObj::supportsService( const OUString& _rServiceName ) throw(uno::RuntimeException, std::exception) { return cppu::supportsService(this, _rServiceName); } @@ -42,14 +42,14 @@ FormulaOpCodeMapperObj::~FormulaOpCodeMapperObj() } ::sal_Int32 SAL_CALL FormulaOpCodeMapperObj::getOpCodeExternal() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return ocExternal; } ::sal_Int32 SAL_CALL FormulaOpCodeMapperObj::getOpCodeUnknown() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return FormulaCompiler::OpCodeMap::getOpCodeUnknown(); } @@ -60,7 +60,7 @@ SAL_CALL FormulaOpCodeMapperObj::getMappings( const ::com::sun::star::uno::Sequence< OUString >& rNames, sal_Int32 nLanguage ) throw ( ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException) + ::com::sun::star::uno::RuntimeException, std::exception) { FormulaCompiler::OpCodeMapPtr xMap = m_pCompiler->GetOpCodeMap( nLanguage); if (!xMap) @@ -73,7 +73,7 @@ SAL_CALL FormulaOpCodeMapperObj::getMappings( SAL_CALL FormulaOpCodeMapperObj::getAvailableMappings( sal_Int32 nLanguage, sal_Int32 nGroups ) throw ( ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException) + ::com::sun::star::uno::RuntimeException, std::exception) { FormulaCompiler::OpCodeMapPtr xMap = m_pCompiler->GetOpCodeMap( nLanguage); if (!xMap) @@ -81,7 +81,7 @@ SAL_CALL FormulaOpCodeMapperObj::getAvailableMappings( return xMap->createSequenceOfAvailableMappings( *m_pCompiler,nGroups); } -OUString SAL_CALL FormulaOpCodeMapperObj::getImplementationName( ) throw(uno::RuntimeException) +OUString SAL_CALL FormulaOpCodeMapperObj::getImplementationName( ) throw(uno::RuntimeException, std::exception) { return getImplementationName_Static(); } @@ -91,7 +91,7 @@ OUString SAL_CALL FormulaOpCodeMapperObj::getImplementationName_Static() return OUString( "simple.formula.FormulaOpCodeMapperObj" ); } -uno::Sequence< OUString > SAL_CALL FormulaOpCodeMapperObj::getSupportedServiceNames( ) throw(uno::RuntimeException) +uno::Sequence< OUString > SAL_CALL FormulaOpCodeMapperObj::getSupportedServiceNames( ) throw(uno::RuntimeException, std::exception) { return getSupportedServiceNames_Static(); } -- cgit