summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/baside2b.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/baside2b.cxx')
-rw-r--r--basctl/source/basicide/baside2b.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 5500db055e5f..47d1ece3a936 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -2628,16 +2628,16 @@ void CodeCompleteListBox::InsertSelectedEntry()
GetParentEditView()->SetSelection( pCodeCompleteWindow->pParent->GetLastHighlightPortionTextSelection() );
GetParentEditView()->DeleteSelected();
- if( !GetSelectEntry().isEmpty() )
+ if( !GetSelectedEntry().isEmpty() )
{//if the user selected something
- GetParentEditView()->InsertText( GetSelectEntry() );
+ GetParentEditView()->InsertText( GetSelectedEntry() );
}
}
else
{
- if( !GetSelectEntry().isEmpty() )
+ if( !GetSelectedEntry().isEmpty() )
{//if the user selected something
- GetParentEditView()->InsertText( GetSelectEntry() );
+ GetParentEditView()->InsertText( GetSelectedEntry() );
}
}
HideAndRestoreFocus();
@@ -2718,7 +2718,7 @@ void CodeCompleteListBox::KeyInput( const KeyEvent& rKeyEvt )
GetParentEditView()->SetSelection( aTextSelection );
GetParentEditView()->DeleteSelected();
- GetParentEditView()->InsertText( GetSelectEntry() );
+ GetParentEditView()->InsertText( GetSelectedEntry() );
}
}
break;