diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-21 09:56:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-21 11:25:00 +0100 |
commit | 28977ea778cc7c8c16c16f1c8b2b6bb6a53b48f7 (patch) | |
tree | 5de62a99189eed9269751068d38a02fc5ceb73ef /cui/source | |
parent | df29825ec68c7cdba90a85fff49ac969522a43f7 (diff) |
drop StringCompare from cui
Change-Id: Iec7a797581ab899e93ad6cebb06c3622ca2360b9
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? |