sal/osl/unx/file_url.cxx |2 +-
sal/osl/unx/process.cxx |2 +-
sal/osl/unx/salinit.cxx |2 +-
sal/osl/w32/file_dirvol.cxx |4 ++--
sal/osl/w32/file_url.cxx |2 +-
sal/osl/w32/module.cxx|2 +-
sal/osl/w32/process.cxx |2 +-
sal/osl/w32/profile.cxx |2 +-
sal/qa/osl/file/osl_File.cxx | 14 +++---
sal/qa/osl/mutex/osl_Mutex.cxx| 14 +++---
sal/qa/osl/pipe/osl_Pipe.cxx |6 +++---
sal/qa/osl/socket/osl_ConnectorSocket.cxx |2 +-
sal/qa/osl/socket/osl_Socket.cxx |8
sal/qa/osl/socket/osl_SocketAddr.cxx |4 ++--
sal/qa/osl/socket/osl_StreamSocket.cxx|8
sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx|2 +-
sal/qa/rtl_strings/rtl_OUString.cxx |2 +-
sal/rtl/source/unload.cxx |2 +-
sal/textenc/tcvtmb.cxx|2 +-
sal/textenc/tcvtutf8.cxx |2 +-
20 files changed, 42 insertions(+), 42 deletions(-)
New commits:
commit fc090acf829d0053c0a611acd73f08b51128031d
Author: Tor Lillqvist t...@iki.fi
Date: Fri Feb 22 11:13:56 2013 +0200
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
diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx
index 7c28b8c..203d17f 100644
--- a/sal/osl/unx/file_url.cxx
+++ b/sal/osl/unx/file_url.cxx
@@ -182,7 +182,7 @@ oslFileError SAL_CALL osl_getSystemPathFromFileURL(
rtl_uString *ustrFileURL, rt
{
nOffset += nIndex;
-/* break url down in '/' devided tokens tokens */
+/* break url down in '/' divided tokens tokens */
nIndex = rtl_ustr_indexOfChar_WithLength( ustrFileURL-buffer +
nOffset, ustrFileURL-length - nOffset, (sal_Unicode) '/' );
/* copy token to new string */
diff --git a/sal/osl/unx/process.cxx b/sal/osl/unx/process.cxx
index cf246c5..aa71c36 100644
--- a/sal/osl/unx/process.cxx
+++ b/sal/osl/unx/process.cxx
@@ -1158,7 +1158,7 @@ static int is_timeout(const struct timeval* tend)
}
/**
- kill(pid, 0) is usefull for checking if a
+ kill(pid, 0) is useful for checking if a
process is still alive, but remember that
kill even returns 0 if the process is already
a zombie.
diff --git a/sal/osl/unx/salinit.cxx b/sal/osl/unx/salinit.cxx
index 4211d08..49fddea 100644
--- a/sal/osl/unx/salinit.cxx
+++ b/sal/osl/unx/salinit.cxx
@@ -46,7 +46,7 @@ void sal_detail_initialize(int argc, char ** argv) {
// https://bugs.freedesktop.org/show_bug.cgi?id=50603 Unable to update
// LibreOffice without resetting user profile). But closing fds in
// restartOnMac before calling exec does not work, as additional threads
-// might still be running then, wich can still use those fds and cause
+// might still be running then, which can still use those fds and cause
// crashes. Therefore, the simples solution is to close fds at process
// start (as early as possible, so that no other threads have been created
// yet that might already have opened some fds); this is done for all kinds
diff --git a/sal/osl/w32/file_dirvol.cxx b/sal/osl/w32/file_dirvol.cxx
index 89d286b..5d8c3a5 100644
--- a/sal/osl/w32/file_dirvol.cxx
+++ b/sal/osl/w32/file_dirvol.cxx
@@ -491,7 +491,7 @@ static oslFileError osl_openLocalRoot(
ZeroMemory( pDirImpl, sizeof(Directory_Impl) );
rtl_uString_newFromString( pDirImpl-m_pDirectoryPath, strSysPath );
-/* Append backslash if neccessary */
+/* Append backslash if necessary */
/* @@@ToDo
use function ensure backslash
@@ -556,7 +556,7 @@ static oslFileError SAL_CALL osl_openFileDirectory(
ZeroMemory( pDirImpl, sizeof(Directory_Impl) );
rtl_uString_newFromString( pDirImpl-m_pDirectoryPath, strDirectoryPath );
-/* Append backslash if neccessary */
+/* Append backslash if necessary */
/* @@@ToDo
use function ensure backslash
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index 2527cbd..324eca1 100644
--- a/sal/osl/w32/file_url.cxx
+++ b/sal/osl/w32/file_url.cxx
@@ -998,7 +998,7 @@ oslFileError SAL_CALL osl_searchFileURL(
LPCTSTR lpszSearchFile =
reinterpret_castLPCTSTR(ustrSysPath-buffer);
/* Allocate space for buffer according to previous returned count
of required chars */
-/* +1 is not neccessary if we follow MSDN documentation but for
robustness we do so */
+/* +1 is not necessary if we follow MSDN documentation but for
robustness we do so */
nBufferLength = dwResult + 1;