From 1cd8aee91b2fb9da6925d9165f10a980fa7b26b2 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 26 May 2022 12:07:01 +0200 Subject: Fix typos Change-Id: I12273f1193a4089743b8e5a9716432e065930cc5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134990 Tested-by: Julien Nabet Reviewed-by: Julien Nabet --- sw/source/core/txtnode/justify.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sw/source/core/txtnode/justify.hxx b/sw/source/core/txtnode/justify.hxx index 5a4c08b3da28..157fe95d2d4b 100644 --- a/sw/source/core/txtnode/justify.hxx +++ b/sw/source/core/txtnode/justify.hxx @@ -29,15 +29,15 @@ SW_DLLPUBLIC void SpaceDistribution(std::vector& rKernArray, const OU /// Snap ideographs to text grids: /// a) Ideographic open brackets are aligned to the rightmost edge of spanned grids so that // they can be closer to the next ideograph. -/// b) Ideographic close brackets, ideogrpahic comma, and idographic fullstop are aligned +/// b) Ideographic close brackets, ideographic comma, and ideographic fullstop are aligned /// to the leftmost edge of spanned grids so that they can be closer to the previous /// ideograph. -/// c) Other ideographs are aligned to the center of the spnaned grids. +/// c) Other ideographs are aligned to the center of the spanned grids. /// @param[in,out] rKernArray text positions from OutDev::GetTextArray(). /// @param rText string used to determine where space and kern are inserted. /// @param nStt starting index of rText. /// @param nLen number of elements to process in rKernArray and rText. -/// @param nGirdWidth width of a text gird +/// @param nGridWidth width of a text grid /// @param nWidth width of the whole portion. /// @return the delta offset of first glyph so text origin can be updated accordingly. SW_DLLPUBLIC tools::Long SnapToGrid(std::vector& rKernArray, const OUString& rText, -- cgit