diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-14 17:00:06 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-25 10:00:46 +0200 |
commit | 83de03e077d219c881626de43960ae4756284371 (patch) | |
tree | 2d582083e3c060139699b075565f55f872edb7b1 /dbaccess/source/ui/dlg | |
parent | 4d5e9db574bdb1a7517ffda01efe0746cc058d47 (diff) |
Rename GetSelectEntryCount -> GetSelectedEntryCount
Change-Id: I405b347b404ed0acb3b6a0204e0b914a7698ce25
Reviewed-on: https://gerrit.libreoffice.org/42284
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'dbaccess/source/ui/dlg')
-rw-r--r-- | dbaccess/source/ui/dlg/dbfindex.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/dsselect.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
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); } |