summaryrefslogtreecommitdiffstats
path: root/cui/source/dialogs/thesdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/thesdlg.cxx')
-rw-r--r--cui/source/dialogs/thesdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index 19f86c41b5de..6efcaa29d171 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -380,7 +380,7 @@ IMPL_LINK( SvxThesaurusDialog, WordSelectHdl_Impl, ComboBox&, rBox, void )
{
if (!m_pWordCB->IsTravelSelect()) // act only upon return key and not when traveling with cursor keys
{
- const sal_Int32 nPos = rBox.GetSelectEntryPos();
+ const sal_Int32 nPos = rBox.GetSelectedEntryPos();
OUString aStr( rBox.GetEntry( nPos ) );
aStr = linguistic::GetThesaurusReplaceText( aStr );
m_pWordCB->SetText( aStr );