diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-02-22 11:13:56 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-02-22 11:15:38 +0200 |
commit | fc090acf829d0053c0a611acd73f08b51128031d (patch) | |
tree | 981e34facb049c5fd4eaecf4ec3244e029a8c4d5 /sal/osl | |
parent | We need to escape special characters in slide names (diff) | |
download | core-fc090acf829d0053c0a611acd73f08b51128031d.tar.gz core-fc090acf829d0053c0a611acd73f08b51128031d.zip |
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/osl')
-rw-r--r-- | sal/osl/unx/file_url.cxx | 2 | ||||
-rw-r--r-- | sal/osl/unx/process.cxx | 2 | ||||
-rw-r--r-- | sal/osl/unx/salinit.cxx | 2 | ||||
-rw-r--r-- | sal/osl/w32/file_dirvol.cxx | 4 | ||||
-rw-r--r-- | sal/osl/w32/file_url.cxx | 2 | ||||
-rw-r--r-- | sal/osl/w32/module.cxx | 2 | ||||
-rw-r--r-- | sal/osl/w32/process.cxx | 2 | ||||
-rw-r--r-- | sal/osl/w32/profile.cxx | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx index 7c28b8ca4ca9..203d17f3d38b 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 cf246c5ce9a5..aa71c36b0258 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 4211d081ad7e..49fddeaeaf9f 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 89d286b50c3d..5d8c3a5bcbee 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 2527cbde4e2f..324eca177e3f 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_cast<LPCTSTR>(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; lpBuffer = lpBuffer ? reinterpret_cast<LPTSTR>(rtl_reallocateMemory(lpBuffer, nBufferLength * sizeof(TCHAR))) : diff --git a/sal/osl/w32/module.cxx b/sal/osl/w32/module.cxx index 3e07442c7917..881aae509225 100644 --- a/sal/osl/w32/module.cxx +++ b/sal/osl/w32/module.cxx @@ -267,7 +267,7 @@ typedef BOOL (WINAPI *SymGetModuleInfo_PROC)( PIMAGEHLP_MODULE ModuleInfo ); -/* Seems that IMAGEHLP.DLL is always availiable on NT 4. But MSDN from Platform SDK says Win 2K is required. MSDN from VS 6.0a says +/* Seems that IMAGEHLP.DLL is always available on NT 4. But MSDN from Platform SDK says Win 2K is required. MSDN from VS 6.0a says it's O.K on NT 4 ???!!! BTW: We are using ANSI function because not all version of IMAGEHLP.DLL contain Unicode support */ diff --git a/sal/osl/w32/process.cxx b/sal/osl/w32/process.cxx index 34e293b685fc..b775c6204e6a 100644 --- a/sal/osl/w32/process.cxx +++ b/sal/osl/w32/process.cxx @@ -525,7 +525,7 @@ static sal_Bool ReadPipe(oslPipe hPipe, sal_Int32* nBytes) { *nBytes = osl_receivePipe(hPipe, pBuffer, BytesToRead); - OSL_TRACE("tried to recieve %d, recieved %d.\n", + OSL_TRACE("tried to receive %d, received %d.\n", BytesToRead, *nBytes); return (sal_Bool)((*nBytes >= 0) && (osl_getLastPipeError(hPipe) == osl_Pipe_E_None)); } diff --git a/sal/osl/w32/profile.cxx b/sal/osl/w32/profile.cxx index 0952f239d122..7477e3f0853c 100644 --- a/sal/osl/w32/profile.cxx +++ b/sal/osl/w32/profile.cxx @@ -2332,7 +2332,7 @@ static sal_Bool lookupProfile(const sal_Unicode *strPath, const sal_Unicode *str rtl_uString_release(strTmp); - /* seperate path from filename */ + /* separate path from filename */ if ((nPos = rtl_ustr_lastIndexOfChar(strExecutable->buffer, L'\\')) == -1) { if ((nPos = rtl_ustr_lastIndexOfChar(strExecutable->buffer, L':')) == -1) |