summaryrefslogtreecommitdiff
path: root/sw/source/ui/index/swuiidxmrk.cxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-14 17:00:06 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-25 10:00:46 +0200
commit83de03e077d219c881626de43960ae4756284371 (patch)
tree2d582083e3c060139699b075565f55f872edb7b1 /sw/source/ui/index/swuiidxmrk.cxx
parent4d5e9db574bdb1a7517ffda01efe0746cc058d47 (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 'sw/source/ui/index/swuiidxmrk.cxx')
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx6
1 files changed, 3 insertions, 3 deletions
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,