summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-05-18 16:23:25 +0200
committerJulien Nabet <serval2412@yahoo.fr>2022-05-18 20:46:30 +0200
commit26a6c2affaf398f236716791cc1f08f36e4cb240 (patch)
tree95178ec805292fb400fcfba3f8ed9001ad84a4a5 /sw
parent75b72f5652b9067eee24b1dd76c9076fd9317e28 (diff)
Fix typos
Change-Id: Ie90f36439bb6ca23c45d1b75494ec1955b35513f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134531 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport17.cxx2
-rw-r--r--sw/source/core/txtnode/justify.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport17.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport17.cxx
index c02926ac60af..62f8095dabaf 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport17.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport17.cxx
@@ -745,7 +745,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf148455_2, "tdf148455_2.docx")
// Ensure we have empty lvlOverride for levels 0 - 1
getXPath(pNumberingDoc, "/w:numbering/w:num[@w:numId='" + OString::number(nListId) +"']/w:lvlOverride[@w:ilvl='0']", "");
getXPath(pNumberingDoc, "/w:numbering/w:num[@w:numId='" + OString::number(nListId) +"']/w:lvlOverride[@w:ilvl='1']", "");
- // And normal overrride for level 2
+ // And normal override for level 2
getXPath(pNumberingDoc, "/w:numbering/w:num[@w:numId='" + OString::number(nListId) +"']/w:lvlOverride[@w:ilvl='2']/w:startOverride", "val");
}
diff --git a/sw/source/core/txtnode/justify.hxx b/sw/source/core/txtnode/justify.hxx
index 5c36a8f5fd5e..a51601b970a4 100644
--- a/sw/source/core/txtnode/justify.hxx
+++ b/sw/source/core/txtnode/justify.hxx
@@ -21,7 +21,7 @@ namespace Justify
/// @param nSpaceAdd amount of space to insert for each CH_BLANK.
/// @param nKern amount of space to insert between letters.
/// @param bNoHalfSpace whether to split the space into two halves.
-/// Splitted spaces are inserted before and after CH_BLANK.
+/// Split spaces are inserted before and after CH_BLANK.
/// Set to true in word line mode and for Arabic text to avoid splitting.
SW_DLLPUBLIC void SpaceDistribution(std::vector<sal_Int32>& rKernArray, const OUString& rText,
sal_Int32 nStt, sal_Int32 nLen, tools::Long nSpaceAdd,