drop StringCompare from cui
Change-Id: Iec7a797581ab899e93ad6cebb06c3622ca2360b9
This commit is contained in:
@@ -371,9 +371,9 @@ sal_uInt16 SvxEditDictionaryDialog::GetLBInsertPos(const OUString &rDicWord)
|
|||||||
SvTreeListEntry* pEntry = pWordsLB->GetEntry(j);
|
SvTreeListEntry* pEntry = pWordsLB->GetEntry(j);
|
||||||
DBG_ASSERT( pEntry, "NULL pointer");
|
DBG_ASSERT( pEntry, "NULL pointer");
|
||||||
OUString aNormEntry( getNormDicEntry_Impl( rDicWord ) );
|
OUString aNormEntry( getNormDicEntry_Impl( rDicWord ) );
|
||||||
StringCompare eCmpRes = (StringCompare)pCollator->
|
sal_Int32 nCmpRes = pCollator->
|
||||||
compareString( aNormEntry, getNormDicEntry_Impl( pWordsLB->GetEntryText(pEntry, 0) ) );
|
compareString( aNormEntry, getNormDicEntry_Impl( pWordsLB->GetEntryText(pEntry, 0) ) );
|
||||||
if( COMPARE_LESS == eCmpRes )
|
if (nCmpRes < 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (j < pWordsLB->GetEntryCount()) // entry found?
|
if (j < pWordsLB->GetEntryCount()) // entry found?
|
||||||
|
Reference in New Issue
Block a user