diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2013-12-14 19:09:42 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2013-12-14 22:35:12 +0100 |
commit | 7059c70d81b84001e4af6f832dbf74c32881a11d (patch) | |
tree | fadcb83adcb84a32ef225c42773ca3ad384c6ee3 /chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx | |
parent | cd840e6a7e7a0ee2b735f2038bdd2de444dca5fa (diff) |
RegressionCurveCalculator & co - com::sun::star -> css
Change-Id: I7cbf11009b5d7dbe2464288e696a1fcb1f3de3a0
Diffstat (limited to 'chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx')
-rw-r--r-- | chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx b/chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx index ac2fd9c99151..6056b9978a85 100644 --- a/chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx +++ b/chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx @@ -24,8 +24,7 @@ namespace chart { -class LogarithmicRegressionCurveCalculator : - public RegressionCurveCalculator +class LogarithmicRegressionCurveCalculator : public RegressionCurveCalculator { public: LogarithmicRegressionCurveCalculator(); @@ -33,27 +32,29 @@ public: protected: virtual OUString ImplGetRepresentation( - const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter >& xNumFormatter, - ::sal_Int32 nNumberFormatKey ) const; + const css::uno::Reference<css::util::XNumberFormatter>& xNumFormatter, + sal_Int32 nNumberFormatKey ) const; private: // ____ XRegressionCurveCalculator ____ virtual void SAL_CALL recalculateRegression( - const ::com::sun::star::uno::Sequence< double >& aXValues, - const ::com::sun::star::uno::Sequence< double >& aYValues ) - throw (::com::sun::star::uno::RuntimeException); + const css::uno::Sequence<double>& aXValues, + const css::uno::Sequence<double>& aYValues ) + throw (css::uno::RuntimeException); + virtual double SAL_CALL getCurveValue( double x ) - throw (::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::geometry::RealPoint2D > SAL_CALL getCurveValues( + throw (css::lang::IllegalArgumentException, + css::uno::RuntimeException); + + virtual css::uno::Sequence<css::geometry::RealPoint2D> SAL_CALL getCurveValues( double min, double max, - ::sal_Int32 nPointCount, - const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XScaling >& xScalingX, - const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XScaling >& xScalingY, - ::sal_Bool bMaySkipPointsInCalculation ) - throw (::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException); + sal_Int32 nPointCount, + const css::uno::Reference<css::chart2::XScaling>& xScalingX, + const css::uno::Reference<css::chart2::XScaling>& xScalingY, + sal_Bool bMaySkipPointsInCalculation ) + throw (css::lang::IllegalArgumentException, + css::uno::RuntimeException); // formula is: f(x) = m_fSlope * log( x ) + m_fIntercept double m_fSlope; |