summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2013-07-03 22:44:22 +0200
committerTomaž Vajngerl <quikee@gmail.com>2013-07-03 22:44:22 +0200
commit27a4d5597c0757611d0e2e682d0c05441859cc4e (patch)
treeb4d49fe5d4459cddfb13ecf67c3322949d6a6e78 /chart2
parent926275d07184d441b3bfa1ceca26c4c1f2bc61db (diff)
Fixes to compiler errors, setRegressionProperties description.
Change-Id: I40ef93746e5f2a43ce58f0080db0b643e22404a1
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/inc/LinearRegressionCurveCalculator.hxx3
-rw-r--r--chart2/source/inc/RegressionCurveCalculator.hxx3
-rw-r--r--chart2/source/tools/LinearRegressionCurveCalculator.cxx10
-rw-r--r--chart2/source/tools/RegressionCurveCalculator.cxx3
4 files changed, 11 insertions, 8 deletions
diff --git a/chart2/source/inc/LinearRegressionCurveCalculator.hxx b/chart2/source/inc/LinearRegressionCurveCalculator.hxx
index 79c6d5da0dce..add9825a2fa2 100644
--- a/chart2/source/inc/LinearRegressionCurveCalculator.hxx
+++ b/chart2/source/inc/LinearRegressionCurveCalculator.hxx
@@ -36,7 +36,8 @@ private:
sal_Int32 aDegree,
sal_Bool aForceIntercept,
double aInterceptValue,
- sal_Int32 aPeriod);
+ sal_Int32 aPeriod)
+ throw (com::sun::star::uno::RuntimeException);
virtual com::sun::star::uno::Sequence< com::sun::star::geometry::RealPoint2D > SAL_CALL getCurveValues(
double min,
diff --git a/chart2/source/inc/RegressionCurveCalculator.hxx b/chart2/source/inc/RegressionCurveCalculator.hxx
index a8cf124fbd97..347492cdfe6e 100644
--- a/chart2/source/inc/RegressionCurveCalculator.hxx
+++ b/chart2/source/inc/RegressionCurveCalculator.hxx
@@ -62,7 +62,8 @@ protected:
sal_Int32 aDegree,
sal_Bool aForceIntercept,
double aInterceptValue,
- sal_Int32 aPeriod);
+ sal_Int32 aPeriod)
+ throw (com::sun::star::uno::RuntimeException);
virtual void SAL_CALL recalculateRegression(
const com::sun::star::uno::Sequence< double >& aXValues,
diff --git a/chart2/source/tools/LinearRegressionCurveCalculator.cxx b/chart2/source/tools/LinearRegressionCurveCalculator.cxx
index 07c19a4124a6..ec328926ce8b 100644
--- a/chart2/source/tools/LinearRegressionCurveCalculator.cxx
+++ b/chart2/source/tools/LinearRegressionCurveCalculator.cxx
@@ -26,7 +26,6 @@
using namespace ::com::sun::star;
-
namespace chart
{
@@ -38,10 +37,11 @@ LinearRegressionCurveCalculator::~LinearRegressionCurveCalculator()
{}
void LinearRegressionCurveCalculator::setRegressionProperties(
- sal_Int32 /*aDegree*/,
- sal_Bool aForceIntercept,
- double aInterceptValue,
- sal_Int32 aPeriod)
+ sal_Int32 /*aDegree*/,
+ sal_Bool aForceIntercept,
+ double aInterceptValue,
+ sal_Int32 aPeriod )
+ throw (uno::RuntimeException)
{
PolynomialRegressionCurveCalculator::setRegressionProperties(
1,
diff --git a/chart2/source/tools/RegressionCurveCalculator.cxx b/chart2/source/tools/RegressionCurveCalculator.cxx
index 8337d95581bf..771cf763f974 100644
--- a/chart2/source/tools/RegressionCurveCalculator.cxx
+++ b/chart2/source/tools/RegressionCurveCalculator.cxx
@@ -73,7 +73,8 @@ void RegressionCurveCalculator::setRegressionProperties(
sal_Int32 aDegree,
sal_Bool aForceIntercept,
double aInterceptValue,
- sal_Int32 aPeriod)
+ sal_Int32 aPeriod )
+ throw (uno::RuntimeException)
{
mDegree = aDegree;
mForceIntercept = aForceIntercept;