diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-22 16:58:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-22 20:32:02 +0100 |
commit | 81202ae7487b139cb473ff85634003b36d67e8c4 (patch) | |
tree | 5f204d5078b696b2f99aa360d3042a24b34a213b /sw/source/ui/uno | |
parent | da2c3cf0aa78cb3363b3ded2bebc418d0cc7ffca (diff) |
Related: fdo#38838 remove UniString::CompareIgnoreCaseToAscii
Change-Id: I4a9b34d63d2534a35aa9a878b8c2bec15262c2be
Diffstat (limited to 'sw/source/ui/uno')
-rw-r--r-- | sw/source/ui/uno/unoatxt.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/uno/unoatxt.cxx b/sw/source/ui/uno/unoatxt.cxx index 6ffb98318925..6210faf43c18 100644 --- a/sw/source/ui/uno/unoatxt.cxx +++ b/sw/source/ui/uno/unoatxt.cxx @@ -600,12 +600,12 @@ sal_Bool SwXAutoTextGroup::hasByName(const OUString& rName) else throw uno::RuntimeException(); - for( sal_uInt16 i = 0; i < nCount; i++ ) + for( sal_uInt16 i = 0; i < nCount; ++i ) { - String sCompare(pGlosGroup->GetShortName(i)); - if(COMPARE_EQUAL == sCompare.CompareIgnoreCaseToAscii(String(rName))) + OUString sCompare(pGlosGroup->GetShortName(i)); + if(sCompare.equalsIgnoreAsciiCase(rName)) { - bRet = sal_True; + bRet = true; break; } } |