From 7be0cc289d9745e0842c4fa6c0a6ac3450f3801b Mon Sep 17 00:00:00 2001 From: Jesús Corrius Date: Wed, 1 Feb 2012 14:42:58 +0100 Subject: A few safe replacements of pathes->paths --- stoc/source/security/permissions.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stoc') 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; -- cgit