summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /sal
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'sal')
-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
-rw-r--r--sal/qa/osl/file/osl_File.cxx2
-rw-r--r--sal/qa/osl/pipe/osl_Pipe.cxx2
-rw-r--r--sal/qa/rtl/digest/rtl_digest.cxx2
9 files changed, 10 insertions, 10 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 0a85135a5d40..77b9e4c97c7c 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;
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index 221fd4cc893f..7d65b5089f07 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -969,7 +969,7 @@ namespace osl_FileBase
checkUNXBehaviour_getFileURLFromSystemPath(sSysPath, osl::FileBase::E_INVAL, "");
checkWNTBehaviour_getFileURLFromSystemPath(sSysPath, osl::FileBase::E_INVAL, "");
}
- // start with "~user", not impletment
+ // start with "~user", not implement
// void SystemPath_FileURL::getFileURLFromSystemPath_006()
// testing the method
diff --git a/sal/qa/osl/pipe/osl_Pipe.cxx b/sal/qa/osl/pipe/osl_Pipe.cxx
index 529c113ced76..568f0472923d 100644
--- a/sal/qa/osl/pipe/osl_Pipe.cxx
+++ b/sal/qa/osl/pipe/osl_Pipe.cxx
@@ -600,7 +600,7 @@ namespace osl_StreamPipe
/** testing the methods:
inline StreamPipe();
- inline StreamPipe(oslPipe Pipe);;
+ inline StreamPipe(oslPipe Pipe);
inline StreamPipe(const StreamPipe& Pipe);
inline StreamPipe(const ::rtl::OUString& strName, oslPipeOptions Options = osl_Pipe_OPEN);
inline StreamPipe(const ::rtl::OUString& strName, oslPipeOptions Options, const Security &rSec );
diff --git a/sal/qa/rtl/digest/rtl_digest.cxx b/sal/qa/rtl/digest/rtl_digest.cxx
index 4a1b2276c727..7505fd28f5bf 100644
--- a/sal/qa/rtl/digest/rtl_digest.cxx
+++ b/sal/qa/rtl/digest/rtl_digest.cxx
@@ -400,7 +400,7 @@ public:
#if 0 // Don't remove, but instead fix the test or something
// With this test case rtl_digest_SHA1 computes the wrong sum. This was confirmed
- // by decrytion of a MSO encrypted document. Replacing the rtl_digest_SHA1 calculation
+ // by decryption of a MSO encrypted document. Replacing the rtl_digest_SHA1 calculation
// with sha1 calculation from NSS was able to decrypt the document.
const unsigned char aData[] = {