summaryrefslogtreecommitdiff
path: root/sal/textenc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-02-22 11:13:56 +0200
committerTor Lillqvist <tml@iki.fi>2013-02-22 11:15:38 +0200
commitfc090acf829d0053c0a611acd73f08b51128031d (patch)
tree981e34facb049c5fd4eaecf4ec3244e029a8c4d5 /sal/textenc
parentea4581a914cb1aad29f16b73e35350f05f8adc1c (diff)
Fix misspellings detected by https://github.com/lyda/misspell-check
Just as a test to check the usefulness of that tool. It needs some improvement before really usable. Change-Id: I875e79c1992ed5f3b695736b0d49938ad0ba2d55
Diffstat (limited to 'sal/textenc')
-rw-r--r--sal/textenc/tcvtmb.cxx2
-rw-r--r--sal/textenc/tcvtutf8.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/textenc/tcvtmb.cxx b/sal/textenc/tcvtmb.cxx
index 7dbb0aadf9da..ec5159e36d89 100644
--- a/sal/textenc/tcvtmb.cxx
+++ b/sal/textenc/tcvtmb.cxx
@@ -30,7 +30,7 @@
/* DBCS to Unicode conversion routine use a lead table for the first byte, */
/* where we determine the trail table or for single byte chars the unicode */
/* value. We have for all lead byte a separate table, because we can */
-/* then share many tables for diffrent charset encodings. */
+/* then share many tables for different charset encodings. */
/* ======================================================================= */
diff --git a/sal/textenc/tcvtutf8.cxx b/sal/textenc/tcvtutf8.cxx
index 92fdb6df8533..9490980095d8 100644
--- a/sal/textenc/tcvtutf8.cxx
+++ b/sal/textenc/tcvtutf8.cxx
@@ -143,7 +143,7 @@ sal_Size ImplConvertUtf8ToUnicode(
else
{
/*
- This byte is preceeded by a broken UTF-8 sequence; if this byte
+ This byte is preceded by a broken UTF-8 sequence; if this byte
is neither in the range [0x80..0xBF] nor in the range
[0xFE..0xFF], assume that this byte does not belong to that
broken sequence, but instead starts a new, legal UTF-8 sequence: