diff options
Diffstat (limited to 'sw/source/ui/uno/unoatxt.cxx')
-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; } } |