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 --- sw/source/ui/index/swuiidxmrk.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/ui/index/swuiidxmrk.cxx') diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx index aed8a53195ec..01ea94b7caca 100644 --- a/sw/source/ui/index/swuiidxmrk.cxx +++ b/sw/source/ui/index/swuiidxmrk.cxx @@ -176,7 +176,7 @@ void SwIndexMarkPane::InitControls() const SwTOXType* pType = pTOXMgr->GetTOXType(TOX_CONTENT); OSL_ENSURE(pType, "No directory type !!"); OUString sTmpTypeSelection; - if(m_pTypeDCB->GetSelectEntryCount()) + if(m_pTypeDCB->GetSelectedEntryCount()) sTmpTypeSelection = m_pTypeDCB->GetSelectedEntry(); m_pTypeDCB->Clear(); m_pTypeDCB->InsertEntry(pType->GetTypeName()); @@ -1646,13 +1646,13 @@ IMPL_LINK(SwCreateAuthEntryDlg_Impl, ShortNameHdl, Edit&, rEdit, void) { bool bEnable = aShortNameCheckLink.Call(&rEdit); m_bNameAllowed |= bEnable; - m_pOKBT->Enable(pTypeListBox->GetSelectEntryCount() && bEnable); + m_pOKBT->Enable(pTypeListBox->GetSelectedEntryCount() && bEnable); } } IMPL_LINK(SwCreateAuthEntryDlg_Impl, EnableHdl, ListBox&, rBox, void) { - m_pOKBT->Enable(m_bNameAllowed && rBox.GetSelectEntryCount()); + m_pOKBT->Enable(m_bNameAllowed && rBox.GetSelectedEntryCount()); }; SwAuthMarkFloatDlg::SwAuthMarkFloatDlg(SfxBindings* _pBindings, -- cgit