[Libreoffice-commits] .: binfilter/bf_svtools

Caolán McNamara caolan at kemper.freedesktop.org
Mon Feb 13 03:07:35 PST 2012


 binfilter/bf_svtools/source/misc/svt_restrictedpaths.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4b0ad93aedebfb86cbdc93a1a1d761eb6f65d20a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Feb 13 11:07:30 2012 +0000

    adapt hidden windows-only uses of toLower

diff --git a/binfilter/bf_svtools/source/misc/svt_restrictedpaths.cxx b/binfilter/bf_svtools/source/misc/svt_restrictedpaths.cxx
index 99992e6..77c7594 100644
--- a/binfilter/bf_svtools/source/misc/svt_restrictedpaths.cxx
+++ b/binfilter/bf_svtools/source/misc/svt_restrictedpaths.cxx
@@ -54,7 +54,7 @@ namespace binfilter
     #ifdef WNT
             // on windows, assume that the relevant file systems are case insensitive,
             // thus normalize the URL
-            m_sCheckURL = m_aSysLocale.GetCharClass().toLower( m_sCheckURL, 0, m_sCheckURL.Len() );
+            m_sCheckURL = m_aSysLocale.GetCharClass().lowercase(m_sCheckURL);
     #endif
         }
 
@@ -63,7 +63,7 @@ namespace binfilter
     #ifdef WNT
             // on windows, assume that the relevant file systems are case insensitive,
             // thus normalize the URL
-            String sApprovedURL( m_aSysLocale.GetCharClass().toLower( _rApprovedURL, 0, _rApprovedURL.Len() ) );
+            String sApprovedURL( m_aSysLocale.GetCharClass().lowercase(_rApprovedURL) );
     #else
             String sApprovedURL( _rApprovedURL );
     #endif


More information about the Libreoffice-commits mailing list