summaryrefslogtreecommitdiff
path: root/formula/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /formula/source
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'formula/source')
-rw-r--r--formula/source/core/api/FormulaOpCodeMapperObj.cxx14
1 files changed, 7 insertions, 7 deletions
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();
}