From c0463d0d5225cdb21e3a8aaac5eac0fb7d961b41 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 16 Jun 2015 18:21:52 +0200 Subject: Fix typos Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins Reviewed-by: Michael Stahl (cherry picked from commit ae150c6a5424d021ce5eb46dc9573f12a4d05445) Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8 --- chart2/source/model/template/ChartTypeTemplate.hxx | 2 +- chart2/source/view/axes/DateScaling.cxx | 2 +- chart2/source/view/main/VDataSeries.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'chart2') diff --git a/chart2/source/model/template/ChartTypeTemplate.hxx b/chart2/source/model/template/ChartTypeTemplate.hxx index b13e8eafb1b2..fe6f2c9571ee 100644 --- a/chart2/source/model/template/ChartTypeTemplate.hxx +++ b/chart2/source/model/template/ChartTypeTemplate.hxx @@ -222,7 +222,7 @@ protected:

As default, this method creates as many axes as there are dimensions in the given first coordinate system. Each of the axis represents one of the dimensions of the coordinate systems. If there are series - requesting asecondary axes a secondary y axes is added

+ requesting a secondary axes a secondary y axes is added

*/ void createAxes( const ::com::sun::star::uno::Sequence< diff --git a/chart2/source/view/axes/DateScaling.cxx b/chart2/source/view/axes/DateScaling.cxx index daf6f4ffd5e6..52d8ef7890a0 100644 --- a/chart2/source/view/axes/DateScaling.cxx +++ b/chart2/source/view/axes/DateScaling.cxx @@ -72,7 +72,7 @@ double SAL_CALL DateScaling::doScaling( double value ) case MONTH: default: fResult = aDate.GetYear(); - fResult *= lcl_fNumberOfMonths;//asssuming equal count of months in each year + fResult *= lcl_fNumberOfMonths;//assuming equal count of months in each year fResult += aDate.GetMonth(); double fDayOfMonth = aDate.GetDay(); diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx index 18614b14c821..baba0b23c18f 100644 --- a/chart2/source/view/main/VDataSeries.cxx +++ b/chart2/source/view/main/VDataSeries.cxx @@ -286,7 +286,7 @@ void VDataSeries::doSortByXValues() if( m_aValues_X.is() && m_aValues_X.Doubles.getLength() ) { //prepare a vector for sorting - std::vector< ::std::vector< double > > aTmp;//outer vector are points, inner vector are the different values of athe point + std::vector< ::std::vector< double > > aTmp;//outer vector are points, inner vector are the different values of the point double fNan; ::rtl::math::setNan( & fNan ); sal_Int32 nPointIndex = 0; -- cgit