diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-14 16:50:25 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-21 12:44:00 +0200 |
commit | b649e5bf1d3f0a11fb0c2fdf6fa08329529ce6fb (patch) | |
tree | bd6937a0ece320c9545774dd5c9a68c68d04769e /basctl/source/basicide/baside2b.cxx | |
parent | 06ce312f79cb0871c0b110ba4bff16f5aaa0f538 (diff) |
Rename GetSelectEntry -> GetSelectedEntry
Change-Id: Ibb7d8c59c0e61b0e87455bd78f241d8691dd9dce
Reviewed-on: https://gerrit.libreoffice.org/42282
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'basctl/source/basicide/baside2b.cxx')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 10 |
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; |