summaryrefslogtreecommitdiff
path: root/sal/osl/w32
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-02 11:30:01 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-02 14:03:36 +0200
commit7bef1aa72271361921b452559bb5debe3bfcf925 (patch)
treeb3c52438585ea675846567edad7bfab81d2ebfb5 /sal/osl/w32
parent493a1bfbc07394a94b6b8f0b35946b9e17c96001 (diff)
Fix typos
Change-Id: Ie183c445bf8a545f59aac7b0e29f72ab679a6cf3 Reviewed-on: https://gerrit.libreoffice.org/76852 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'sal/osl/w32')
-rw-r--r--sal/osl/w32/file_url.cxx4
-rw-r--r--sal/osl/w32/module.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index 65bcd70552ed..bed0e734d7c3 100644
--- a/sal/osl/w32/file_url.cxx
+++ b/sal/osl/w32/file_url.cxx
@@ -121,8 +121,8 @@ static bool IsValidFilePathComponent(
cLast = *lpCurrent++;
}
- /* If we don't reached the end of the component the length of the component was to long
- ( See condition of while loop ) */
+ /* If we don't reached the end of the component the length of the component was too long
+ (See condition of while loop) */
if ( !lpComponentEnd )
{
bValid = false;
diff --git a/sal/osl/w32/module.cxx b/sal/osl/w32/module.cxx
index 104a82826b94..6794fb512c87 100644
--- a/sal/osl/w32/module.cxx
+++ b/sal/osl/w32/module.cxx
@@ -61,7 +61,7 @@ oslModule SAL_CALL osl_loadModule(rtl_uString *strModuleName, sal_Int32 /*nRtldM
// In case of long path names (\\?\c:\...) try to shorten the filename.
// LoadLibrary cannot handle file names which exceed 260 letters.
- // In case the path is to long, the function will fail. However, the error
+ // In case the path is too long, the function will fail. However, the error
// code can be different. For example, it returned ERROR_FILENAME_EXCED_RANGE
// on Windows XP and ERROR_INSUFFICIENT_BUFFER on Windows 7 (64bit)
if (h == nullptr && Module->length > 260)