summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-06-16 18:21:52 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-06 09:42:38 -0500
commitc0463d0d5225cdb21e3a8aaac5eac0fb7d961b41 (patch)
treef682b62fcd3821663b12e46216b63aa8a5cbf306 /chart2
parentf4d94eae4a8677a70d6b406ce26614e006ba8b66 (diff)
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit ae150c6a5424d021ce5eb46dc9573f12a4d05445) Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/model/template/ChartTypeTemplate.hxx2
-rw-r--r--chart2/source/view/axes/DateScaling.cxx2
-rw-r--r--chart2/source/view/main/VDataSeries.cxx2
3 files changed, 3 insertions, 3 deletions
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:
<p>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</p>
+ requesting a secondary axes a secondary y axes is added</p>
*/
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;