summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-04-19 15:10:25 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-04-19 17:10:33 +0200
commit1b7edbafe0c73ce53b78696aa88f67a5eb526878 (patch)
treef4320743199e65132f4291dae6a70a81c893cdb0 /chart2
parent4a670f4284cd2131845ef940d10daedf57014ea4 (diff)
Fix typo
Change-Id: I51f25a9b57bf62bcd691894a0eec771baf479702 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92500 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/axes/VCartesianAxis.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx
index d4183118cca5..37c503eac30f 100644
--- a/chart2/source/view/axes/VCartesianAxis.cxx
+++ b/chart2/source/view/axes/VCartesianAxis.cxx
@@ -818,7 +818,7 @@ bool VCartesianAxis::createTextShapes(
if( pLastVisibleNeighbourTickInfo && !rAxisLabelProperties.bOverlapAllowed )
{
// Overlapping is not allowed. If the label overlaps with its
- // neighbering label, try increasing the tick interval (or rhythm
+ // neighboring label, try increasing the tick interval (or rhythm
// as it's called) and start over.
if( lcl_doesShapeOverlapWithTickmark( pLastVisibleNeighbourTickInfo->xTextShape
@@ -903,7 +903,7 @@ bool VCartesianAxis::createTextShapes(
//if NO OVERLAP -> remove overlapping shapes
if( pLastVisibleNeighbourTickInfo && !rAxisLabelProperties.bOverlapAllowed )
{
- // Check if the label still overlaps with its neighber.
+ // Check if the label still overlaps with its neighbor.
if( doesOverlap( pLastVisibleNeighbourTickInfo->xTextShape, pTickInfo->xTextShape, rAxisLabelProperties.fRotationAngleDegree ) )
{
// It overlaps. Check if staggering helps.
@@ -1007,7 +1007,7 @@ bool VCartesianAxis::createTextShapesSimple(
if( pLastVisibleNeighbourTickInfo && !rAxisLabelProperties.bOverlapAllowed )
{
// Overlapping is not allowed. If the label overlaps with its
- // neighbering label, try increasing the tick interval (or rhythm
+ // neighboring label, try increasing the tick interval (or rhythm
// as it's called) and start over.
if( lcl_doesShapeOverlapWithTickmark( pLastVisibleNeighbourTickInfo->xTextShape
@@ -1055,7 +1055,7 @@ bool VCartesianAxis::createTextShapesSimple(
//if NO OVERLAP -> remove overlapping shapes
if( pLastVisibleNeighbourTickInfo && !rAxisLabelProperties.bOverlapAllowed )
{
- // Check if the label still overlaps with its neighber.
+ // Check if the label still overlaps with its neighbor.
if( doesOverlap( pLastVisibleNeighbourTickInfo->xTextShape, pTickInfo->xTextShape, rAxisLabelProperties.fRotationAngleDegree ) )
{
// It overlaps.