summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-24 11:48:58 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-25 11:11:09 +0000
commit2e9fe260149911a8a906e059a6025892af8e9a64 (patch)
treec647b11c29be0de80eaa257e3f48bcc34c42887e /sal
parent98ef3edb8a5d1a13963101d41abb2a8dd8a806dd (diff)
Fix typos
Change-Id: I5fc62060e7d01c6b492a0e91323f753cc676bf71 Reviewed-on: https://gerrit.libreoffice.org/35639 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/security.cxx2
-rw-r--r--sal/osl/w32/profile.cxx2
-rw-r--r--sal/qa/osl/process/osl_Thread.cxx6
-rw-r--r--sal/qa/rtl/ostring/rtl_OString2.cxx2
-rw-r--r--sal/textenc/convertsimple.cxx2
-rw-r--r--sal/textenc/tcvtutf7.cxx2
6 files changed, 8 insertions, 8 deletions
diff --git a/sal/osl/unx/security.cxx b/sal/osl/unx/security.cxx
index 55bb6410bd5c..701f6e775499 100644
--- a/sal/osl/unx/security.cxx
+++ b/sal/osl/unx/security.cxx
@@ -480,7 +480,7 @@ static bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDir
/*
* FIXME: rewrite to use more flexible
* NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES)
- * as soon as we can bumb the baseline to Tiger (for NSApplicationSupportDirectory) and have
+ * as soon as we can bump the baseline to Tiger (for NSApplicationSupportDirectory) and have
* support for Objective-C in the build environment
*/
diff --git a/sal/osl/w32/profile.cxx b/sal/osl/w32/profile.cxx
index 26999f8c9855..66db4be6386b 100644
--- a/sal/osl/w32/profile.cxx
+++ b/sal/osl/w32/profile.cxx
@@ -1942,7 +1942,7 @@ static bool lookupProfile(const sal_Unicode *strPath, const sal_Unicode *strFile
else
{
- /* if we have not product identfication, do a special handling for soffice.ini */
+ /* if we have not product identification, do a special handling for soffice.ini */
if (rtl_ustr_ascii_compare(strFile, SVERSION_PROFILE) == 0)
{
rtl_uString * strSVProfile = nullptr;
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx
index 31e369cf0a28..ecb669c7b796 100644
--- a/sal/qa/osl/process/osl_Thread.cxx
+++ b/sal/qa/osl/process/osl_Thread.cxx
@@ -769,10 +769,10 @@ namespace osl_Thread
public:
/** Check after call terminate if the thread running function will not go on executing
- the next statement after join will not exec before the thread terminate
+ the next statement after join will not exec before the thread terminates
ALGORITHM:
recode system time at the beginning of the thread run, call join, then record system time again,
- the difference of the two time should be equal or more than 20 seconds, the CountThead normally terminate
+ the difference of the two times should be equal or more than 20 seconds, the CountThread normally terminates
*/
void join_001()
{
@@ -1541,7 +1541,7 @@ namespace osl_Thread
// but should be differ from nValue
delete aThread;
- //check if thread really terminate after call terminate, if join immediatlly return
+ //check if thread really terminate after call terminate, if join immediately return
CPPUNIT_ASSERT_MESSAGE(
"Schedule: Returns False if the thread should terminate.",
nValue_join - nValue_term <= 1 && nValue_join - nValue_term >= 0
diff --git a/sal/qa/rtl/ostring/rtl_OString2.cxx b/sal/qa/rtl/ostring/rtl_OString2.cxx
index e42ac2b04dff..63efbf1c9839 100644
--- a/sal/qa/rtl/ostring/rtl_OString2.cxx
+++ b/sal/qa/rtl/ostring/rtl_OString2.cxx
@@ -431,7 +431,7 @@ public:
// const OString& newStr )
// Developer note: Mindy Liu, 2004-04-23
-// stollen from sal/qa/rtl_strings/rtl_OString.cxx
+// stolen from sal/qa/rtl_strings/rtl_OString.cxx
class replaceAt : public CppUnit::TestFixture
{
diff --git a/sal/textenc/convertsimple.cxx b/sal/textenc/convertsimple.cxx
index 476e8819bbd0..6e08b5fe5505 100644
--- a/sal/textenc/convertsimple.cxx
+++ b/sal/textenc/convertsimple.cxx
@@ -42,7 +42,7 @@ static ImplReplaceCharData const aImplRepCharTab[] =
{ 0x2005, 0x0020 }, /* FOUR-PER-EM SPACE */
{ 0x2006, 0x0020 }, /* SIX-PER-EM SPACE */
{ 0x2007, 0x0020 }, /* FIGURE SPACE */
- { 0x2008, 0x0020 }, /* PUNCTATION SPACE */
+ { 0x2008, 0x0020 }, /* PUNCTUATION SPACE */
{ 0x2009, 0x0020 }, /* THIN SPACE */
{ 0x200A, 0x0020 }, /* HAIR SPACE */
{ 0x2010, 0x002D }, /* HYPHEN */
diff --git a/sal/textenc/tcvtutf7.cxx b/sal/textenc/tcvtutf7.cxx
index ea6a6d92b6f4..367007417968 100644
--- a/sal/textenc/tcvtutf7.cxx
+++ b/sal/textenc/tcvtutf7.cxx
@@ -337,7 +337,7 @@ sal_Size ImplUTF7ToUnicode( SAL_UNUSED_PARAMETER const void*, void* pContext,
}
else
{
- /* No direct encoded charcater, then the buffer is */
+ /* No direct encoded character, then the buffer is */
/* corrupt */
if ( c > 0x7F )
{