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

Eike Rathke erack at redhat.com
Mon Oct 5 03:48:04 PDT 2015


 sc/source/core/tool/autoform.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a71febc99d2cfc2fe51dec8c0bca5d84d8577168
Author: Eike Rathke <erack at redhat.com>
Date:   Mon Oct 5 12:28:54 2015 +0200

    use collator for UI visible sorting, tdf#94173 follow-up
    
    Change-Id: Ib9f7ebb087c1ce5008f43b2df3f1fadc41066ed1

diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx
index 647f347..b1efc9e 100644
--- a/sc/source/core/tool/autoform.cxx
+++ b/sc/source/core/tool/autoform.cxx
@@ -903,7 +903,7 @@ bool DefaultFirstEntry::operator() (const OUString& left, const OUString& right)
         return true;
     if ( ScGlobal::GetpTransliteration()->isEqual( right, aStrStandard ) )
         return false;
-    return left < right;
+    return ScGlobal::GetCollator()->compareString( left, right) < 0;
 }
 
 ScAutoFormat::ScAutoFormat(const ScAutoFormat& r) :


More information about the Libreoffice-commits mailing list