summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2023-11-22 16:20:55 +0100
committerJulien Nabet <serval2412@yahoo.fr>2023-11-22 21:01:31 +0100
commit34636bb5f6c6d2b31515451d42aac841a14bd7aa (patch)
tree1510260beabf2dd763caa0736f57fcee33e9919d /svx
parente763acfa9b643595794a9afd2ac196fe0497990e (diff)
Fix typo
Change-Id: Id83a613432117cbf7f20eb9dd0cfa8eaf60b103d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159834 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeFontWork.cxx2
1 files changed, 1 insertions, 1 deletions
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();