summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-05-26 12:07:01 +0200
committerJulien Nabet <serval2412@yahoo.fr>2022-05-26 17:43:54 +0200
commit1cd8aee91b2fb9da6925d9165f10a980fa7b26b2 (patch)
treeb7c41e8fe220dba3ea7c15d48aba6fd51ed79b94
parentce12103990f7a8623c6de8b668784dbd0ab4d1b7 (diff)
Fix typos
Change-Id: I12273f1193a4089743b8e5a9716432e065930cc5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134990 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--sw/source/core/txtnode/justify.hxx6
1 files 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<sal_Int32>& 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<sal_Int32>& rKernArray, const OUString& rText,