From 83de03e077d219c881626de43960ae4756284371 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 14 Sep 2017 17:00:06 +0200 Subject: Rename GetSelectEntryCount -> GetSelectedEntryCount Change-Id: I405b347b404ed0acb3b6a0204e0b914a7698ce25 Reviewed-on: https://gerrit.libreoffice.org/42284 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- dbaccess/source/ui/dlg/dbfindex.cxx | 4 ++-- dbaccess/source/ui/dlg/dsselect.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'dbaccess/source/ui/dlg') diff --git a/dbaccess/source/ui/dlg/dbfindex.cxx b/dbaccess/source/ui/dlg/dbfindex.cxx index a3bceb671db1..9569bf31b56a 100644 --- a/dbaccess/source/ui/dlg/dbfindex.cxx +++ b/dbaccess/source/ui/dlg/dbfindex.cxx @@ -110,10 +110,10 @@ bool ODbaseIndexDialog::GetTable(const OUString& _rName, TableInfoList::iterator void ODbaseIndexDialog::checkButtons() { - m_pAdd->Enable(0 != m_pLB_FreeIndexes->GetSelectEntryCount()); + m_pAdd->Enable(0 != m_pLB_FreeIndexes->GetSelectedEntryCount()); m_pAddAll->Enable(0 != m_pLB_FreeIndexes->GetEntryCount()); - m_pRemove->Enable(0 != m_pLB_TableIndexes->GetSelectEntryCount()); + m_pRemove->Enable(0 != m_pLB_TableIndexes->GetSelectedEntryCount()); m_pRemoveAll->Enable(0 != m_pLB_TableIndexes->GetEntryCount()); } diff --git a/dbaccess/source/ui/dlg/dsselect.cxx b/dbaccess/source/ui/dlg/dsselect.cxx index 78bc4d23f311..3f90fd96c7b6 100644 --- a/dbaccess/source/ui/dlg/dsselect.cxx +++ b/dbaccess/source/ui/dlg/dsselect.cxx @@ -87,7 +87,7 @@ void ODatasourceSelectDialog::dispose() IMPL_LINK( ODatasourceSelectDialog, ListDblClickHdl, ListBox&, rListBox, void ) { - if (rListBox.GetSelectEntryCount()) + if (rListBox.GetSelectedEntryCount()) EndDialog(RET_OK); } -- cgit