summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
Diffstat (limited to 'svl')
-rw-r--r--svl/source/misc/restrictedpaths.cxx5
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
}