diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-02 11:30:01 +0200 |
---|---|---|
committer | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-02 14:03:36 +0200 |
commit | 7bef1aa72271361921b452559bb5debe3bfcf925 (patch) | |
tree | b3c52438585ea675846567edad7bfab81d2ebfb5 /sal/qa | |
parent | 493a1bfbc07394a94b6b8f0b35946b9e17c96001 (diff) |
Fix typos
Change-Id: Ie183c445bf8a545f59aac7b0e29f72ab679a6cf3
Reviewed-on: https://gerrit.libreoffice.org/76852
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'sal/qa')
-rw-r--r-- | sal/qa/osl/mutex/osl_Mutex.cxx | 6 | ||||
-rw-r--r-- | sal/qa/osl/process/osl_Thread.cxx | 2 | ||||
-rw-r--r-- | sal/qa/osl/process/osl_process.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sal/qa/osl/mutex/osl_Mutex.cxx b/sal/qa/osl/mutex/osl_Mutex.cxx index d0b7b85b03b1..d0b8283c68e3 100644 --- a/sal/qa/osl/mutex/osl_Mutex.cxx +++ b/sal/qa/osl/mutex/osl_Mutex.cxx @@ -253,7 +253,7 @@ namespace osl_Mutex /** Create two threads to write data to the same buffer, use Mutex to assure during one thread write data five times, the other thread should not begin writing. - the two threads wrote two different datas: their thread ID, so we can check the datas + the two threads wrote two different data: their thread ID, so we can check the data in buffer to know the order of the two threads writing */ void ctor_001() @@ -270,7 +270,7 @@ namespace osl_Mutex bool bRes = false; - // every 5 datas should the same + // every 5 data should the same // LLA: this is not a good check, it's too fix if (m_Data.buffer[0] == m_Data.buffer[1] && m_Data.buffer[1] == m_Data.buffer[2] && @@ -309,7 +309,7 @@ namespace osl_Mutex bool bRes = false; - // every 5 datas should the same + // every 5 data should the same if ( ( m_Res.data1 == 0 ) && ( m_Res.data2 == 3 ) ) bRes = true; diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx index 5d63f64032b6..0b97d0b95d8c 100644 --- a/sal/qa/osl/process/osl_Thread.cxx +++ b/sal/qa/osl/process/osl_Thread.cxx @@ -1556,7 +1556,7 @@ namespace osl_Thread // resumeAndWaitThread(aThread); t_print(" value = %d\n", static_cast<int>(nValue)); t_print("later value = %d\n", static_cast<int>(nLaterValue)); - // if value and latervalue not equal, than the thread would not suspended + // if value and latervalue not equal, then the thread would not suspended CPPUNIT_ASSERT_EQUAL_MESSAGE( "Schedule: suspend works.", diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx index f08777d4f1ac..6ba730af5cd6 100644 --- a/sal/qa/osl/process/osl_process.cxx +++ b/sal/qa/osl/process/osl_process.cxx @@ -302,7 +302,7 @@ public: // test that parent and child process have the // same environment when osl_executeProcess will - // be called with out setting new environment + // be called without setting new environment // variables void osl_execProc_parent_equals_child_environment() { |