summaryrefslogtreecommitdiff
path: root/chart2/source/tools/RegressionCurveCalculator.cxx
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 /chart2/source/tools/RegressionCurveCalculator.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'chart2/source/tools/RegressionCurveCalculator.cxx')
-rw-r--r--chart2/source/tools/RegressionCurveCalculator.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/tools/RegressionCurveCalculator.cxx b/chart2/source/tools/RegressionCurveCalculator.cxx
index d05fd44d6bfc..694e056e6b9f 100644
--- a/chart2/source/tools/RegressionCurveCalculator.cxx
+++ b/chart2/source/tools/RegressionCurveCalculator.cxx
@@ -73,7 +73,7 @@ void RegressionCurveCalculator::setRegressionProperties(
sal_Bool aForceIntercept,
double aInterceptValue,
sal_Int32 aPeriod )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
mDegree = aDegree;
mForceIntercept = aForceIntercept;
@@ -101,7 +101,7 @@ Sequence< geometry::RealPoint2D > SAL_CALL RegressionCurveCalculator::getCurveVa
const Reference< chart2::XScaling >& xScalingX,
const Reference< chart2::XScaling >& /* xScalingY */,
sal_Bool /* bMaySkipPointsInCalculation */ )
- throw (lang::IllegalArgumentException, uno::RuntimeException)
+ throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{
if( nPointCount < 2 )
throw lang::IllegalArgumentException();
@@ -137,13 +137,13 @@ Sequence< geometry::RealPoint2D > SAL_CALL RegressionCurveCalculator::getCurveVa
}
double SAL_CALL RegressionCurveCalculator::getCorrelationCoefficient()
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
return m_fCorrelationCoeffitient;
}
OUString SAL_CALL RegressionCurveCalculator::getRepresentation()
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
return ImplGetRepresentation( Reference< util::XNumberFormatter >(), 0 );
}
@@ -151,7 +151,7 @@ OUString SAL_CALL RegressionCurveCalculator::getRepresentation()
OUString SAL_CALL RegressionCurveCalculator::getFormattedRepresentation(
const Reference< util::XNumberFormatsSupplier > & xNumFmtSupplier,
sal_Int32 nNumberFormatKey )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
// create and prepare a number formatter
if( !xNumFmtSupplier.is())