summaryrefslogtreecommitdiff
path: root/forms/source/component/Numeric.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/Numeric.cxx')
-rw-r--r--forms/source/component/Numeric.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/Numeric.cxx b/forms/source/component/Numeric.cxx
index 22c58f223efe..220a584b4bec 100644
--- a/forms/source/component/Numeric.cxx
+++ b/forms/source/component/Numeric.cxx
@@ -49,7 +49,7 @@ ONumericControl::ONumericControl(const Reference<XComponentContext>& _rxFactory)
}
-StringSequence ONumericControl::getSupportedServiceNames() throw()
+StringSequence ONumericControl::getSupportedServiceNames() throw(std::exception)
{
StringSequence aSupported = OBoundControl::getSupportedServiceNames();
aSupported.realloc(aSupported.getLength() + 1);
@@ -115,7 +115,7 @@ IMPLEMENT_DEFAULT_CLONING( ONumericModel )
// XServiceInfo
-StringSequence ONumericModel::getSupportedServiceNames() throw()
+StringSequence ONumericModel::getSupportedServiceNames() throw(std::exception)
{
StringSequence aSupported = OBoundControlModel::getSupportedServiceNames();
@@ -147,7 +147,7 @@ void ONumericModel::describeFixedProperties( Sequence< Property >& _rProps ) con
}
-OUString SAL_CALL ONumericModel::getServiceName() throw ( ::com::sun::star::uno::RuntimeException)
+OUString SAL_CALL ONumericModel::getServiceName() throw ( ::com::sun::star::uno::RuntimeException, std::exception)
{
return OUString(FRM_COMPONENT_NUMERICFIELD); // old (non-sun) name for compatibility !
}