summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-14 16:50:25 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-21 12:44:00 +0200
commitb649e5bf1d3f0a11fb0c2fdf6fa08329529ce6fb (patch)
treebd6937a0ece320c9545774dd5c9a68c68d04769e /basctl
parent06ce312f79cb0871c0b110ba4bff16f5aaa0f538 (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')
-rw-r--r--basctl/source/basicide/basicbox.cxx12
-rw-r--r--basctl/source/basicide/baside2b.cxx10
2 files changed, 11 insertions, 11 deletions
diff --git a/basctl/source/basicide/basicbox.cxx b/basctl/source/basicide/basicbox.cxx
index 9ce006ac6532..e184dd74dc75 100644
--- a/basctl/source/basicide/basicbox.cxx
+++ b/basctl/source/basicide/basicbox.cxx
@@ -167,7 +167,7 @@ void LibBox::Update( const SfxStringItem* pItem )
aCurText = IDEResId(RID_STR_ALL);
}
- if ( GetSelectEntry() != aCurText )
+ if ( GetSelectedEntry() != aCurText )
SelectEntry( aCurText );
}
@@ -191,7 +191,7 @@ void LibBox::FillBox()
SetUpdateMode(false);
bIgnoreSelect = true;
- aCurText = GetSelectEntry();
+ aCurText = GetSelectedEntry();
SelectEntryPos( 0 );
ClearBox();
@@ -217,7 +217,7 @@ void LibBox::FillBox()
if ( !GetSelectEntryCount() )
{
SelectEntryPos( GetEntryCount() );
- aCurText = GetSelectEntry();
+ aCurText = GetSelectedEntry();
}
bIgnoreSelect = false;
}
@@ -387,7 +387,7 @@ void LanguageBox::FillBox()
{
SetUpdateMode(false);
m_bIgnoreSelect = true;
- m_sCurrentText = GetSelectEntry();
+ m_sCurrentText = GetSelectedEntry();
ClearBox();
std::shared_ptr<LocalizationMgr> pCurMgr(GetShell()->GetCurLocalizationMgr());
@@ -421,7 +421,7 @@ void LanguageBox::FillBox()
if ( nSelPos != LISTBOX_ENTRY_NOTFOUND )
{
SelectEntryPos( nSelPos );
- m_sCurrentText = GetSelectEntry();
+ m_sCurrentText = GetSelectedEntry();
}
}
else
@@ -501,7 +501,7 @@ void LanguageBox::Update( const SfxStringItem* pItem )
if ( pItem && !pItem->GetValue().isEmpty() )
{
m_sCurrentText = pItem->GetValue();
- if ( GetSelectEntry() != m_sCurrentText )
+ if ( GetSelectedEntry() != m_sCurrentText )
SelectEntry( m_sCurrentText );
}
}
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;