[Libreoffice-commits] core.git: sw/source

Vitaliy Anderson vanderson at smartru.com
Mon Nov 6 04:36:04 UTC 2017


 sw/source/ui/fldui/fldref.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ffa46ebe6d83c5e812753c41857f31c059f33986
Author: Vitaliy Anderson <vanderson at smartru.com>
Date:   Sat Nov 4 19:33:20 2017 +0000

    tdf#107939 Fix case-insensitive filter in Field Dialog
    
    Change-Id: I38e695b43ffa7b213e60993aed3ac1838548b33d
    Reviewed-on: https://gerrit.libreoffice.org/44307
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx
index a427e8be7f91..d8e1fc77cdb7 100644
--- a/sw/source/ui/fldui/fldref.cxx
+++ b/sw/source/ui/fldui/fldref.cxx
@@ -734,8 +734,8 @@ bool SwFieldRefPage::MatchSubstring( const OUString& rListString, const OUString
 {
     if(rSubstr.isEmpty())
         return true;
-    OUString aListString = rListString.toAsciiLowerCase();
-    OUString aSubstr = rSubstr.toAsciiLowerCase();
+    OUString aListString = GetAppCharClass().lowercase(rListString);
+    OUString aSubstr = GetAppCharClass().lowercase(rSubstr);
     return aListString.indexOf(aSubstr) >= 0;
 }
 


More information about the Libreoffice-commits mailing list