summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-02 18:24:20 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2015-07-04 10:22:11 +0000
commit3dfdd18707019c49723ad98e74f5202a3ae436f7 (patch)
treef43c956f39aae0173cbbc6a307ae63189012ca06 /sal
parent0b7d51df3b4ce49f318dd9091df0bf7ba37cdd99 (diff)
Fix typos
Change-Id: Iddcc22f62ea134ea797292daa02e47042d52d0d1 Reviewed-on: https://gerrit.libreoffice.org/16710 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/android/uthash.h2
-rw-r--r--sal/osl/w32/file_url.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/android/uthash.h b/sal/android/uthash.h
index fe9d13d79f9f..5884108b856e 100644
--- a/sal/android/uthash.h
+++ b/sal/android/uthash.h
@@ -76,7 +76,7 @@ typedef unsigned int uint32_t;
#define HASH_INITIAL_NUM_BUCKETS_LOG2 5 /* lg2 of initial number of buckets */
#define HASH_BKT_CAPACITY_THRESH 10 /* expand when bucket count reaches */
-/* calculate the element whose hash handle address is hhe */
+/* calculate the element whose hash handle address is the */
#define ELMT_FROM_HH(tbl,hhp) ((void*)(((char*)(hhp)) - ((tbl)->hho)))
#define HASH_FIND(hh,head,keyptr,keylen,out) \
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index 3620e28cfd64..0aaa7ebb3025 100644
--- a/sal/osl/w32/file_url.cxx
+++ b/sal/osl/w32/file_url.cxx
@@ -736,7 +736,7 @@ oslFileError _osl_getSystemPathFromFileURL( rtl_uString *strURL, rtl_uString **p
rtl_uString_newFromStr_WithLength( &strTempPath, reinterpret_cast<const sal_Unicode*>(WSTR_SYSTEM_ROOT_PATH), SAL_N_ELEMENTS(WSTR_SYSTEM_ROOT_PATH) - 1 );
else
{
- /* do not separate the directory and file case, so the maximal path lengs without prefix is MAX_PATH-12 */
+ /* do not separate the directory and file case, so the maximal path length without prefix is MAX_PATH-12 */
if ( nDecodedLen - nSkip <= MAX_PATH - 12 )
{
rtl_uString_newFromStr_WithLength( &strTempPath, pDecodedURL + nSkip, nDecodedLen - nSkip );