summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-01-15 09:13:49 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-01-16 14:25:56 +0100
commit0183c7c3b86be4be9c5fd6eec09785bd99c0a0b4 (patch)
treec3cf7dd51a64c66e3e70c3a71b023e2e8793bcc5 /sw
parentf0b857310dd564356a6ff7854bdc42cb677989f9 (diff)
Fix typos
Change-Id: I46873c8bea3bbfeebb7dee50918d3978408fcf63 Reviewed-on: https://gerrit.libreoffice.org/47842 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx2
-rw-r--r--sw/source/uibase/wrtsh/delete.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 1e8d7431bc52..18bbf80acd32 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -5730,7 +5730,7 @@ void SwUiWriterTest::testTdf113481()
SwDoc* pDoc = createDoc("tdf113481-IVS.odt");
SwWrtShell* pWrtShell = pDoc->GetDocShell()->GetWrtShell();
- // One backspace should completely remove the CJK ideograph varation sequence
+ // One backspace should completely remove the CJK ideograph variation sequence
pWrtShell->EndPara();
// Before: U+8FBA U+E0102. After: empty
pWrtShell->DelLeft();
diff --git a/sw/source/uibase/wrtsh/delete.cxx b/sw/source/uibase/wrtsh/delete.cxx
index 2f0be3984c85..4e0709342792 100644
--- a/sw/source/uibase/wrtsh/delete.cxx
+++ b/sw/source/uibase/wrtsh/delete.cxx
@@ -50,7 +50,7 @@ inline bool isUnicodeVariationSequenceSelector( sal_uInt32 nCode )
|| ( nCode >= 0xE0100 && nCode <= 0xE01EF );// Variation Selectors Supplement block
}
-// Return if the chracter might be a base character of a CJK ideographic varaiation sequence
+// Return if the character might be a base character of a CJK ideographic variation sequence
inline bool isCJKIVSCharacters( sal_uInt32 nCode )
{
return ( nCode >= 0x4E00 && nCode <= 0x9FFF ) // CJK Unified Ideographs