summaryrefslogtreecommitdiff
path: root/forms/source/component/Currency.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/Currency.cxx')
-rw-r--r--forms/source/component/Currency.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx
index 4a88cfb24b89..2bac133ff194 100644
--- a/forms/source/component/Currency.cxx
+++ b/forms/source/component/Currency.cxx
@@ -62,7 +62,7 @@ Sequence<Type> OCurrencyControl::_getTypes()
}
-StringSequence SAL_CALL OCurrencyControl::getSupportedServiceNames() throw()
+StringSequence SAL_CALL OCurrencyControl::getSupportedServiceNames() throw(std::exception)
{
StringSequence aSupported = OBoundControl::getSupportedServiceNames();
aSupported.realloc(aSupported.getLength() + 1);
@@ -163,7 +163,7 @@ IMPLEMENT_DEFAULT_CLONING( OCurrencyModel )
// XServiceInfo
-StringSequence SAL_CALL OCurrencyModel::getSupportedServiceNames() throw()
+StringSequence SAL_CALL OCurrencyModel::getSupportedServiceNames() throw(std::exception)
{
StringSequence aSupported = OBoundControlModel::getSupportedServiceNames();
@@ -193,7 +193,7 @@ void OCurrencyModel::describeFixedProperties( Sequence< Property >& _rProps ) co
}
-OUString SAL_CALL OCurrencyModel::getServiceName() throw ( ::com::sun::star::uno::RuntimeException)
+OUString SAL_CALL OCurrencyModel::getServiceName() throw ( ::com::sun::star::uno::RuntimeException, std::exception)
{
return OUString(FRM_COMPONENT_CURRENCYFIELD); // old (non-sun) name for compatibility !
}