summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:25:53 -0400
commitd955148381be3496b091fab7c2335d080634d376 (patch)
treefed9feebbc3cf62cc75b7a5d7d11d4391ac66521 /sal/osl
parent1ca1ab42e7a7e7132375cb07745b33f635dd62e8 (diff)
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 64d624b65124ac02d8ee59b135593fd9d8eb9067) Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/unx/time.cxx2
-rw-r--r--sal/osl/w32/file_url.cxx2
-rw-r--r--sal/osl/w32/module.cxx2
-rw-r--r--sal/osl/w32/process.cxx4
-rw-r--r--sal/osl/w32/profile.cxx2
-rw-r--r--sal/osl/w32/signal.cxx2
6 files changed, 7 insertions, 7 deletions
diff --git a/sal/osl/unx/time.cxx b/sal/osl/unx/time.cxx
index 0764d08ea8eb..9c2332d91069 100644
--- a/sal/osl/unx/time.cxx
+++ b/sal/osl/unx/time.cxx
@@ -226,7 +226,7 @@ sal_Bool SAL_CALL osl_getSystemTimeFromLocalTime( const TimeValue* pLocalTimeVal
atime = (time_t) pLocalTimeVal->Seconds;
- /* Convert atime, which is a local time, to it's GMT equivalent. Then, get
+ /* Convert atime, which is a local time, to its GMT equivalent. Then, get
* the timezone offset for the local time for the GMT equivalent time. Note
* that we cannot directly use local time to determine the timezone offset
* because GMT is the only reliable time that we can determine timezone
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index 74f0f97d91c8..479c1741d785 100644
--- a/sal/osl/w32/file_url.cxx
+++ b/sal/osl/w32/file_url.cxx
@@ -142,7 +142,7 @@ static BOOL IsValidFilePathComponent(
// - Array should be const static
// - Sorted array, use binary search
// - More intelligent check for com1-9, lpt1-9
- // Maybe make szComponent upper case, don't search case intensitive
+ // Maybe make szComponent upper case, don't search case insensitive
// Talked to HRO: Could be removed. Shouldn't be used in OOo, and if used for something like a filename, it will lead to an error anyway.
/*
if ( fValid )
diff --git a/sal/osl/w32/module.cxx b/sal/osl/w32/module.cxx
index 56123917534b..e88810b61819 100644
--- a/sal/osl/w32/module.cxx
+++ b/sal/osl/w32/module.cxx
@@ -154,7 +154,7 @@ void* SAL_CALL osl_getSymbol(oslModule Module, rtl_uString *strSymbolName)
{
/* casting from a function pointer to a data pointer is invalid
be in this case unavoidable because the API has to stay
- compitable we need to keep this function which returns a
+ compatible. We need to keep this function which returns a
void* by definition */
#ifdef _MSC_VER
#pragma warning(push)
diff --git a/sal/osl/w32/process.cxx b/sal/osl/w32/process.cxx
index 77e680e44ac7..8c3e1169116d 100644
--- a/sal/osl/w32/process.cxx
+++ b/sal/osl/w32/process.cxx
@@ -279,7 +279,7 @@ static rtl_uString ** osl_createCommandArgs_Impl (int argc, char **)
0, reinterpret_cast<LPCWSTR>(ppArgs[0]->buffer), L".exe", aBuffer.getBufSizeInSymbols(), ::osl::mingw_reinterpret_cast<LPWSTR>(aBuffer), 0);
if ((0 < dwResult) && (dwResult < aBuffer.getBufSizeInSymbols()))
{
- /* Replace argv[0] with it's absolute path */
+ /* Replace argv[0] with its absolute path */
rtl_uString_newFromStr_WithLength(
&(ppArgs[0]), aBuffer, dwResult);
}
@@ -448,7 +448,7 @@ oslProcessError SAL_CALL osl_getProcessWorkingDir( rtl_uString **pustrWorkingDir
if ( dwLen && dwLen < aBuffer.getBufSizeInSymbols() )
{
oslFileError eError;
- rtl_uString *ustrTemp = NULL;;
+ rtl_uString *ustrTemp = NULL;
rtl_uString_newFromStr_WithLength( &ustrTemp, aBuffer, dwLen );
eError = osl_getFileURLFromSystemPath( ustrTemp, pustrWorkingDir );
diff --git a/sal/osl/w32/profile.cxx b/sal/osl/w32/profile.cxx
index a3465cacabe0..9218976934ca 100644
--- a/sal/osl/w32/profile.cxx
+++ b/sal/osl/w32/profile.cxx
@@ -2245,7 +2245,7 @@ static sal_Bool lookupProfile(const sal_Unicode *strPath, const sal_Unicode *str
rtl_uString * strTmp = NULL;
sal_Int32 nPos;
- /* try to find the file in the directory of the executbale */
+ /* try to find the file in the directory of the executable */
if (osl_getExecutableFile(&strTmp) != osl_Process_E_None)
return sal_False;
diff --git a/sal/osl/w32/signal.cxx b/sal/osl/w32/signal.cxx
index 51fe5ac93b77..69c56838f3bb 100644
--- a/sal/osl/w32/signal.cxx
+++ b/sal/osl/w32/signal.cxx
@@ -288,7 +288,7 @@ void win_seh_translator( unsigned nSEHCode, _EXCEPTION_POINTERS* /* pExcPtrs */)
case EXCEPTION_FLT_UNDERFLOW: pSEHName = "SEH Exception: FLOAT UNDERFLOW"; break;
case EXCEPTION_INT_DIVIDE_BY_ZERO: pSEHName = "SEH Exception: INTEGER DIVIDE_BY_ZERO"; break;
case EXCEPTION_INT_OVERFLOW: pSEHName = "SEH Exception: INTEGER OVERFLOW"; break;
- case EXCEPTION_PRIV_INSTRUCTION: pSEHName = "SEH Exception: PRIVILEDGED INSTRUCTION"; break;
+ case EXCEPTION_PRIV_INSTRUCTION: pSEHName = "SEH Exception: PRIVILEGED INSTRUCTION"; break;
case EXCEPTION_IN_PAGE_ERROR: pSEHName = "SEH Exception: IN_PAGE_ERROR"; break;
case EXCEPTION_ILLEGAL_INSTRUCTION: pSEHName = "SEH Exception: ILLEGAL INSTRUCTION"; break;
case EXCEPTION_NONCONTINUABLE_EXCEPTION: pSEHName = "SEH Exception: NONCONTINUABLE EXCEPTION"; break;