summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-10-05 12:28:54 +0200
committerEike Rathke <erack@redhat.com>2015-10-05 12:47:16 +0200
commita71febc99d2cfc2fe51dec8c0bca5d84d8577168 (patch)
tree08d8af1da8998f68b27dfd76d799016a185e5db3
parent338f19a8cecfa632fa23d42cc27769a832d62104 (diff)
use collator for UI visible sorting, tdf#94173 follow-up
Change-Id: Ib9f7ebb087c1ce5008f43b2df3f1fadc41066ed1
-rw-r--r--sc/source/core/tool/autoform.cxx2
1 files changed, 1 insertions, 1 deletions
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) :