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 /sw/source/ui/misc/num.cxx | |
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 'sw/source/ui/misc/num.cxx')
-rw-r--r-- | sw/source/ui/misc/num.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx index 940ad4cde4e9..979eff2f3433 100644 --- a/sw/source/ui/misc/num.cxx +++ b/sw/source/ui/misc/num.cxx @@ -199,7 +199,7 @@ void SwNumPositionTabPage::InitControls() bInInintControl = true; const bool bRelative = !bLabelAlignmentPosAndSpaceModeActive && m_pRelativeCB->IsEnabled() && m_pRelativeCB->IsChecked(); - const bool bSingleSelection = m_pLevelLB->GetSelectEntryCount() == 1 && + const bool bSingleSelection = m_pLevelLB->GetSelectedEntryCount() == 1 && USHRT_MAX != nActNumLvl; m_pDistBorderMF->Enable( !bLabelAlignmentPosAndSpaceModeActive && @@ -616,7 +616,7 @@ IMPL_LINK( SwNumPositionTabPage, LevelHdl, ListBox&, rBox, void ) sal_uInt16 nSaveNumLvl = nActNumLvl; nActNumLvl = 0; if(rBox.IsEntryPosSelected( MAXLEVEL ) && - (rBox.GetSelectEntryCount() == 1 || nSaveNumLvl != 0xffff)) + (rBox.GetSelectedEntryCount() == 1 || nSaveNumLvl != 0xffff)) { nActNumLvl = 0xFFFF; rBox.SetUpdateMode(false); @@ -624,7 +624,7 @@ IMPL_LINK( SwNumPositionTabPage, LevelHdl, ListBox&, rBox, void ) rBox.SelectEntryPos( i, false ); rBox.SetUpdateMode(true); } - else if(rBox.GetSelectEntryCount()) + else if(rBox.GetSelectedEntryCount()) { sal_uInt16 nMask = 1; for( sal_uInt16 i = 0; i < MAXLEVEL; i++ ) @@ -722,7 +722,7 @@ IMPL_LINK( SwNumPositionTabPage, DistanceHdl, SpinField&, rSpin, void ) IMPL_LINK( SwNumPositionTabPage, RelativeHdl, Button *, pBox, void ) { bool bOn = static_cast<CheckBox*>(pBox)->IsChecked(); - bool bSingleSelection = m_pLevelLB->GetSelectEntryCount() == 1 && USHRT_MAX != nActNumLvl; + bool bSingleSelection = m_pLevelLB->GetSelectedEntryCount() == 1 && USHRT_MAX != nActNumLvl; bool bSetValue = false; long nValue = 0; if(bOn || bSingleSelection) |