summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 17:56:52 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 07:07:18 +0000
commitc15d93f252df25b1d0e406abb08e3a3e5df71f5e (patch)
tree8e1f84bb3b9e15c34872317dcbd6cbaedac03b18 /sal/osl
parenta55c2728453c68f44966fc31b4a483416c43b8f3 (diff)
Fix typos
Change-Id: Ia41f4f0ca30ae3346d0720271478ec5bcdab797b Reviewed-on: https://gerrit.libreoffice.org/18967 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/all/log.cxx2
-rw-r--r--sal/osl/w32/file_url.cxx2
-rw-r--r--sal/osl/w32/security.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index 67e384cb6fcd..58e24a2d4787 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -125,7 +125,7 @@ bool report(sal_detail_LogLevel level, char const * area) {
switch (*p++) {
case '\0':
return senseLen[POSITIVE] >= senseLen[NEGATIVE];
- // if a specific item is both postiive and negative
+ // if a specific item is both positive and negative
// (senseLen[POSITIVE] == senseLen[NEGATIVE]), default to
// positive
case '+':
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index 1581544f203d..edb9b9a68cf6 100644
--- a/sal/osl/w32/file_url.cxx
+++ b/sal/osl/w32/file_url.cxx
@@ -959,7 +959,7 @@ oslFileError SAL_CALL osl_searchFileURL(
/* Repeat calling SearchPath ...
Start with MAX_PATH for the buffer. In most cases this
- will be enough and does not force the loop to runtwice */
+ will be enough and does not force the loop to run twice */
dwResult = MAX_PATH;
do
diff --git a/sal/osl/w32/security.c b/sal/osl/w32/security.c
index a9058fe9b580..da13ce64665c 100644
--- a/sal/osl/w32/security.c
+++ b/sal/osl/w32/security.c
@@ -246,7 +246,7 @@ sal_Bool SAL_CALL osl_isAdministrator(oslSecurity Security)
/* CheckTokenMembership() can be used on W2K and higher (NT4 no longer supported by OOo)
and also works on Vista to retrieve the effective user rights. Just checking for
membership of Administrators group is not enough on Vista this would require additional
- complicated checks as described in KB arcticle Q118626: http://support.microsoft.com/kb/118626/en-us
+ complicated checks as described in KB article Q118626: http://support.microsoft.com/kb/118626/en-us
*/
if (AllocateAndInitializeSid(&siaNtAuthority,