summaryrefslogtreecommitdiff
path: root/chart2/source/tools/MeanValueRegressionCurveCalculator.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/MeanValueRegressionCurveCalculator.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'chart2/source/tools/MeanValueRegressionCurveCalculator.cxx')
-rw-r--r--chart2/source/tools/MeanValueRegressionCurveCalculator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx b/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx
index e94861456e05..c263d48b2770 100644
--- a/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx
+++ b/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx
@@ -41,7 +41,7 @@ MeanValueRegressionCurveCalculator::~MeanValueRegressionCurveCalculator()
void SAL_CALL MeanValueRegressionCurveCalculator::recalculateRegression(
const uno::Sequence< double >& /*aXValues*/,
const uno::Sequence< double >& aYValues )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
const sal_Int32 nDataLength = aYValues.getLength();
sal_Int32 nMax = nDataLength;
@@ -88,7 +88,7 @@ void SAL_CALL MeanValueRegressionCurveCalculator::recalculateRegression(
double SAL_CALL MeanValueRegressionCurveCalculator::getCurveValue( double /*x*/ )
throw (lang::IllegalArgumentException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
return m_fMeanValue;
}
@@ -99,7 +99,7 @@ uno::Sequence< geometry::RealPoint2D > SAL_CALL MeanValueRegressionCurveCalculat
const uno::Reference< chart2::XScaling >& xScalingY,
::sal_Bool bMaySkipPointsInCalculation )
throw (lang::IllegalArgumentException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
if( bMaySkipPointsInCalculation )
{