From a71febc99d2cfc2fe51dec8c0bca5d84d8577168 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Mon, 5 Oct 2015 12:28:54 +0200 Subject: use collator for UI visible sorting, tdf#94173 follow-up Change-Id: Ib9f7ebb087c1ce5008f43b2df3f1fadc41066ed1 --- sc/source/core/tool/autoform.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx index 647f3472f9ae..b1efc9e8a2c3 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) : -- cgit v1.2.3