diff options
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/options/optdict.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx index 722a4834e0f2..bde7de1589e2 100644 --- a/cui/source/options/optdict.cxx +++ b/cui/source/options/optdict.cxx @@ -371,9 +371,9 @@ sal_uInt16 SvxEditDictionaryDialog::GetLBInsertPos(const OUString &rDicWord) SvTreeListEntry* pEntry = pWordsLB->GetEntry(j); DBG_ASSERT( pEntry, "NULL pointer"); OUString aNormEntry( getNormDicEntry_Impl( rDicWord ) ); - StringCompare eCmpRes = (StringCompare)pCollator-> + sal_Int32 nCmpRes = pCollator-> compareString( aNormEntry, getNormDicEntry_Impl( pWordsLB->GetEntryText(pEntry, 0) ) ); - if( COMPARE_LESS == eCmpRes ) + if (nCmpRes < 0) break; } if (j < pWordsLB->GetEntryCount()) // entry found? |