diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-28 00:13:54 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-28 00:13:54 -0600 |
commit | 422ed6bc3a7811121dea060a9e36d64de434f261 (patch) | |
tree | 87d84a0463537d9c02df1d1fa9a1eb96ec4b95f9 | |
parent | c617be8307033394bde4255c05b72dbd01ae0056 (diff) |
fix windows miss in svl OUString work
Change-Id: Iff20613231058db92d65cfecc5e4b16dd5395589
-rw-r--r-- | svl/source/misc/restrictedpaths.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svl/source/misc/restrictedpaths.cxx b/svl/source/misc/restrictedpaths.cxx index 1cff9712fd8d..c1b7f863913f 100644 --- a/svl/source/misc/restrictedpaths.cxx +++ b/svl/source/misc/restrictedpaths.cxx @@ -91,12 +91,13 @@ namespace svt bool m_bAllowParent; public: inline CheckURLAllowed( const OUString& _rCheckURL, bool bAllowParent = true ) - :m_sCheckURL( _rCheckURL ), m_bAllowParent( bAllowParent ) + : m_sCheckURL( _rCheckURL ) + , m_bAllowParent( bAllowParent ) { #ifdef WNT // on windows, assume that the relevant file systems are case insensitive, // thus normalize the URL - m_sCheckURL = m_aSysLocale.GetCharClass().lowercase( m_sCheckURL, 0, m_sCheckURL.Len() ); + m_sCheckURL = m_aSysLocale.GetCharClass().lowercase( m_sCheckURL, 0, m_sCheckURL.getLength() ); #endif } |