svx/source/customshapes/EnhancedCustomShapeFontWork.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 34636bb5f6c6d2b31515451d42aac841a14bd7aa Author: Andrea Gelmini <[email protected]> AuthorDate: Wed Nov 22 16:20:55 2023 +0100 Commit: Julien Nabet <[email protected]> CommitDate: Wed Nov 22 21:01:31 2023 +0100 Fix typo Change-Id: Id83a613432117cbf7f20eb9dd0cfa8eaf60b103d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159834 Tested-by: Jenkins Reviewed-by: Julien Nabet <[email protected]> diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx index d2071da34c8a..ba7b2890f905 100644 --- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx @@ -863,7 +863,7 @@ static void FitTextOutlinesToShapeOutlines(const tools::PolyPolygon& aOutlines2d double fAdjust; double fCurWidth; - // distance between the original an the current curve + // distance between the original and the current curve double fCurvesDist = rTextArea.aBoundRect.GetHeight() / 2.0 + rTextArea.aBoundRect.Top() - rParagraph.aBoundRect.Center().Y(); commit e763acfa9b643595794a9afd2ac196fe0497990e Author: Andrea Gelmini <[email protected]> AuthorDate: Wed Nov 22 16:17:17 2023 +0100 Commit: Julien Nabet <[email protected]> CommitDate: Wed Nov 22 21:01:16 2023 +0100 Fix typo Change-Id: Id451921ddcefb71f9c46a11e5150fa1b864d4281 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159829 Tested-by: Jenkins Reviewed-by: Julien Nabet <[email protected]> diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx index 0bbf501835aa..d2071da34c8a 100644 --- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx @@ -795,7 +795,7 @@ static void FitTextOutlinesToShapeOutlines(const tools::PolyPolygon& aOutlines2d nAdjust = 1; // 1 half of the possible break; case SDRTEXTHORZADJUST_BLOCK: - nAdjust = -1; // don't know what it is, so dont even align + nAdjust = -1; // don't know what it is, so don't even align break; case SDRTEXTHORZADJUST_LEFT: nAdjust = 0; // no need to move
