diff options
author | Jesús Corrius <jesus@softcatala.org> | 2012-02-01 14:42:58 +0100 |
---|---|---|
committer | Jesús Corrius <jesus@softcatala.org> | 2012-02-01 14:43:37 +0100 |
commit | 7be0cc289d9745e0842c4fa6c0a6ac3450f3801b (patch) | |
tree | 5b349b17cc872dfb45ef5ec73a6ba2eec27a37ef /stoc | |
parent | e8b7f1faaf3b0fd837a236a4a53d0f7392723713 (diff) |
A few safe replacements of pathes->paths
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/security/permissions.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/security/permissions.cxx b/stoc/source/security/permissions.cxx index 93715e8c48b3..d8327344d4ef 100644 --- a/stoc/source/security/permissions.cxx +++ b/stoc/source/security/permissions.cxx @@ -419,11 +419,11 @@ bool FilePermission::implies( Permission const & perm ) const SAL_THROW(()) #ifdef SAL_W32 return ((0 == ::rtl_ustr_compareIgnoreAsciiCase_WithLength( demanded.m_url.pData->buffer, len, m_url.pData->buffer, len )) && - (0 > demanded.m_url.indexOf( '/', len ))); // in addition, no deeper pathes + (0 > demanded.m_url.indexOf( '/', len ))); // in addition, no deeper paths #else return ((0 == ::rtl_ustr_reverseCompare_WithLength( demanded.m_url.pData->buffer, len, m_url.pData->buffer, len )) && - (0 > demanded.m_url.indexOf( '/', len ))); // in addition, no deeper pathes + (0 > demanded.m_url.indexOf( '/', len ))); // in addition, no deeper paths #endif } return false; |