summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basicbox.cxx2
-rw-r--r--basctl/source/dlged/managelang.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/basicbox.cxx b/basctl/source/basicide/basicbox.cxx
index e0ee83e4beea..f4743270051e 100644
--- a/basctl/source/basicide/basicbox.cxx
+++ b/basctl/source/basicide/basicbox.cxx
@@ -214,7 +214,7 @@ void LibBox::FillBox()
SetUpdateMode(true);
SelectEntry( aCurText );
- if ( !GetSelectEntryCount() )
+ if ( !GetSelectedEntryCount() )
{
SelectEntryPos( GetEntryCount() );
aCurText = GetSelectedEntry();
diff --git a/basctl/source/dlged/managelang.cxx b/basctl/source/dlged/managelang.cxx
index 2921e52f6b4c..b60ea1d7d6f2 100644
--- a/basctl/source/dlged/managelang.cxx
+++ b/basctl/source/dlged/managelang.cxx
@@ -166,7 +166,7 @@ IMPL_LINK_NOARG(ManageLanguageDialog, DeleteHdl, Button*, void)
ScopedVclPtrInstance< MessageDialog > aQBox(this, "DeleteLangDialog", "modules/BasicIDE/ui/deletelangdialog.ui");
if ( aQBox->Execute() == RET_OK )
{
- sal_Int32 nCount = m_pLanguageLB->GetSelectEntryCount();
+ sal_Int32 nCount = m_pLanguageLB->GetSelectedEntryCount();
sal_Int32 nPos = m_pLanguageLB->GetSelectedEntryPos();
// remove locales
Sequence< Locale > aLocaleSeq( nCount );
@@ -216,7 +216,7 @@ IMPL_LINK_NOARG(ManageLanguageDialog, SelectHdl, ListBox&, void)
bool bEnable = !bEmpty && bSelect;
m_pDeletePB->Enable(bEnable);
- m_pMakeDefPB->Enable(bEnable && nCount > 1 && m_pLanguageLB->GetSelectEntryCount() == 1);
+ m_pMakeDefPB->Enable(bEnable && nCount > 1 && m_pLanguageLB->GetSelectedEntryCount() == 1);
}
// class SetDefaultLanguageDialog -----------------------------------------------