summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-06-16 18:21:52 +0200
committerMichael Stahl <mstahl@redhat.com>2015-06-18 11:44:56 +0000
commitae150c6a5424d021ce5eb46dc9573f12a4d05445 (patch)
tree8fadf46f7789b54e59e9095b967ca6068dbbe890 /chart2
parenta63b8b4afc687d49ad25cbb77e16f835b9820522 (diff)
Fix typos
Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8 Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
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 043cbaae673c..3efa477734ca 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;