diff options
author | Vitaliy Anderson <vanderson@smartru.com> | 2017-11-04 19:33:20 +0000 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2017-11-06 05:35:36 +0100 |
commit | ffa46ebe6d83c5e812753c41857f31c059f33986 (patch) | |
tree | 688ccb5442683e45b8776d566ed767267dded233 | |
parent | b3f1d199a72ce87cb65ddaeac922564f57da6a4d (diff) |
tdf#107939 Fix case-insensitive filter in Field Dialog
Change-Id: I38e695b43ffa7b213e60993aed3ac1838548b33d
Reviewed-on: https://gerrit.libreoffice.org/44307
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r-- | sw/source/ui/fldui/fldref.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |