diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/android/uthash.h | 2 | ||||
-rw-r--r-- | sal/osl/w32/file_url.cxx | 2 |
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 ); |