summaryrefslogtreecommitdiff
path: root/chart2/source/tools/MovingAverageRegressionCurveCalculator.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/MovingAverageRegressionCurveCalculator.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx')
-rw-r--r--chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx b/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx
index 55193f11b210..ee61c9c7cd9a 100644
--- a/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx
+++ b/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx
@@ -41,7 +41,7 @@ MovingAverageRegressionCurveCalculator::~MovingAverageRegressionCurveCalculator(
void SAL_CALL MovingAverageRegressionCurveCalculator::recalculateRegression(
const uno::Sequence< double >& aXValues,
const uno::Sequence< double >& aYValues )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
::rtl::math::setNan( & m_fCorrelationCoeffitient );
@@ -74,7 +74,7 @@ void SAL_CALL MovingAverageRegressionCurveCalculator::recalculateRegression(
double SAL_CALL MovingAverageRegressionCurveCalculator::getCurveValue( double /*x*/ )
throw (lang::IllegalArgumentException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
double fResult;
rtl::math::setNan(&fResult);
@@ -87,7 +87,7 @@ uno::Sequence< geometry::RealPoint2D > SAL_CALL MovingAverageRegressionCurveCalc
const uno::Reference< chart2::XScaling >& /*xScalingY*/,
sal_Bool /*bMaySkipPointsInCalculation*/ )
throw (lang::IllegalArgumentException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
uno::Sequence< geometry::RealPoint2D > aResult( aYList.size() );