summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-05 16:29:13 +0200
committerNoel Grandin <noel@peralex.com>2013-09-11 09:45:29 +0200
commit19c8de15dfc49b815597d7f2b05e072de2f8dec5 (patch)
treee6a6bece40536f00b8013a070b308c9c75f5634b /include/editeng
parent987356e22f2d969deca72da99643691e432f0e92 (diff)
convert SvStringsISortDtor class from String to OUString
Change-Id: Iad22ba07dd3dfbd5162fa4e16ebb5f44c5eb7811
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/svxacorr.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index ebf2b05571d0..5c2bd776c777 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -46,14 +46,14 @@ class Window;
struct CompareSvStringsISortDtor
{
- bool operator()( String* const& lhs, String* const& rhs ) const
+ bool operator()( OUString* const& lhs, OUString* const& rhs ) const
{
- return lhs->CompareIgnoreCaseToAscii( *rhs ) == COMPARE_LESS;
+ return lhs->compareToIgnoreAsciiCase( *rhs ) < 0;
}
};
class SvStringsISortDtor
- : public o3tl::sorted_vector<String*, CompareSvStringsISortDtor>
+ : public o3tl::sorted_vector<OUString*, CompareSvStringsISortDtor>
{
public:
~SvStringsISortDtor() { DeleteAndDestroyAll(); }