diff options
Diffstat (limited to 'svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx')
-rw-r--r-- | svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx index 7b16e6b44f13..b03bd7656be2 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx @@ -197,10 +197,9 @@ DictionaryEntry* DictionaryList::getEntryOnPos( sal_Int32 nPos ) const DictionaryEntry* DictionaryList::getTermEntry( const OUString& rTerm ) const { - DictionaryEntry* pE = 0; for( sal_Int32 nN=GetRowCount(); nN--; ) { - pE = getEntryOnPos( nN ); + DictionaryEntry* pE = getEntryOnPos( nN ); if( pE && rTerm.equals( pE->m_aTerm ) ) return pE; } |