[Libreoffice-commits] core.git: chart2/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Apr 19 15:11:09 UTC 2020


 chart2/source/view/axes/VCartesianAxis.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 1b7edbafe0c73ce53b78696aa88f67a5eb526878
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Apr 19 15:10:25 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Apr 19 17:10:33 2020 +0200

    Fix typo
    
    Change-Id: I51f25a9b57bf62bcd691894a0eec771baf479702
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92500
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

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.


More information about the Libreoffice-commits mailing list