summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
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;