[Libreoffice-commits] .: svl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Nov 27 22:14:44 PST 2012


 svl/source/misc/restrictedpaths.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 422ed6bc3a7811121dea060a9e36d64de434f261
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Wed Nov 28 00:13:54 2012 -0600

    fix windows miss in svl OUString work
    
    Change-Id: Iff20613231058db92d65cfecc5e4b16dd5395589

diff --git a/svl/source/misc/restrictedpaths.cxx b/svl/source/misc/restrictedpaths.cxx
index 1cff971..c1b7f86 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
         }
 


More information about the Libreoffice-commits mailing list