summaryrefslogtreecommitdiff
path: root/sd
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 /sd
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 'sd')
-rw-r--r--sd/source/filter/html/pubdlg.cxx2
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.cxx4
-rw-r--r--sd/source/ui/animations/SlideTransitionPane.cxx6
-rw-r--r--sd/source/ui/dlg/PhotoAlbumDialog.cxx6
-rw-r--r--sd/source/ui/dlg/custsdlg.cxx2
-rw-r--r--sd/source/ui/dlg/headerfooterdlg.cxx2
-rw-r--r--sd/source/ui/dlg/navigatr.cxx2
-rw-r--r--sd/source/ui/dlg/tpaction.cxx2
8 files changed, 13 insertions, 13 deletions
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index bdceafff015e..843b94c9ec7b 100644
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -951,7 +951,7 @@ IMPL_LINK( SdPublishingDlg, DesignHdl, Button *, pButton, void )
pPage1_Designs->Enable();
pPage1_DelDesign->Enable();
- if(pPage1_Designs->GetSelectEntryCount() == 0)
+ if(pPage1_Designs->GetSelectedEntryCount() == 0)
pPage1_Designs->SelectEntryPos(0);
const sal_Int32 nPos = pPage1_Designs->GetSelectedEntryPos();
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx
index 84044c0f1642..8a05b20669ae 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -1907,7 +1907,7 @@ void CustomAnimationPane::remove( CustomAnimationEffectPtr const & pEffect )
void CustomAnimationPane::onChangeStart()
{
- if( mpLBStart->GetSelectEntryCount() == 1 )
+ if( mpLBStart->GetSelectedEntryCount() == 1 )
{
sal_Int16 nNodeType;
switch( mpLBStart->GetSelectedEntryPos() )
@@ -1993,7 +1993,7 @@ PathKind CustomAnimationPane::getCreatePathKind() const
{
PathKind eKind = PathKind::NONE;
- if( ( mpLBAnimation->GetSelectEntryCount() == 1 ) &&
+ if( ( mpLBAnimation->GetSelectedEntryCount() == 1 ) &&
( mpLBCategory->GetSelectedEntryPos() == mnMotionPathPos ) )
{
const sal_Int32 nPos = mpLBAnimation->GetSelectedEntryPos();
diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index 41262c6118e6..f3005661456d 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -301,7 +301,7 @@ OUString lcl_getSoundFileURL(
const ::std::vector< OUString > & rSoundList,
const ListBox* rListBox )
{
- if( rListBox->GetSelectEntryCount() > 0 )
+ if( rListBox->GetSelectedEntryCount() > 0 )
{
sal_Int32 nPos = rListBox->GetSelectedEntryPos();
// the first three entries are no actual sounds
@@ -875,7 +875,7 @@ impl::TransitionEffect SlideTransitionPane::getTransitionEffectFromControls() co
if( mpLB_SOUND->IsEnabled())
{
maCurrentSoundFile.clear();
- if( mpLB_SOUND->GetSelectEntryCount() > 0 )
+ if( mpLB_SOUND->GetSelectedEntryCount() > 0 )
{
sal_Int32 nPos = mpLB_SOUND->GetSelectedEntryPos();
aResult.mbStopSound = nPos == 1;
@@ -1117,7 +1117,7 @@ IMPL_LINK_NOARG(SlideTransitionPane, DurationLoseFocusHdl, Control&, void)
IMPL_LINK_NOARG(SlideTransitionPane, SoundListBoxSelected, ListBox&, void)
{
- if( mpLB_SOUND->GetSelectEntryCount() )
+ if( mpLB_SOUND->GetSelectedEntryCount() )
{
sal_Int32 nPos = mpLB_SOUND->GetSelectedEntryPos();
if( nPos == 2 )
diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
index 878384019d89..1c2b5f0c370c 100644
--- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx
+++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
@@ -804,10 +804,10 @@ Reference< graphic::XGraphic> SdPhotoAlbumDialog::createXGraphicFromUrl(const OU
void SdPhotoAlbumDialog::EnableDisableButtons()
{
- pRemoveBtn->Enable(pImagesLst->GetSelectEntryCount() > 0);
- pUpBtn->Enable(pImagesLst->GetSelectEntryCount() > 0 &&
+ pRemoveBtn->Enable(pImagesLst->GetSelectedEntryCount() > 0);
+ pUpBtn->Enable(pImagesLst->GetSelectedEntryCount() > 0 &&
pImagesLst->GetSelectedEntryPos() != 0);
- pDownBtn->Enable(pImagesLst->GetSelectEntryCount() > 0 &&
+ pDownBtn->Enable(pImagesLst->GetSelectedEntryCount() > 0 &&
pImagesLst->GetSelectedEntryPos() < pImagesLst->GetEntryCount()-1);
}
diff --git a/sd/source/ui/dlg/custsdlg.cxx b/sd/source/ui/dlg/custsdlg.cxx
index 55d7bd97c0cb..68c8a4e3fbac 100644
--- a/sd/source/ui/dlg/custsdlg.cxx
+++ b/sd/source/ui/dlg/custsdlg.cxx
@@ -403,7 +403,7 @@ void SdDefineCustomShowDlg::ClickButtonHdl2(void const * p)
{
if( p == m_pBtnAdd )
{
- sal_Int32 nCount = m_pLbPages->GetSelectEntryCount();
+ sal_Int32 nCount = m_pLbPages->GetSelectedEntryCount();
if( nCount > 0 )
{
sal_uLong nPosCP = TREELIST_APPEND;
diff --git a/sd/source/ui/dlg/headerfooterdlg.cxx b/sd/source/ui/dlg/headerfooterdlg.cxx
index fb2a12e2d0a9..755f4726f34c 100644
--- a/sd/source/ui/dlg/headerfooterdlg.cxx
+++ b/sd/source/ui/dlg/headerfooterdlg.cxx
@@ -545,7 +545,7 @@ void HeaderFooterTabPage::getData( HeaderFooterSettings& rSettings, bool& rNotOn
rSettings.mbHeaderVisible = mpCBHeader->IsChecked();
rSettings.maHeaderText = mpTBHeader->GetText();
- if( mpCBDateTimeFormat->GetSelectEntryCount() == 1 )
+ if( mpCBDateTimeFormat->GetSelectedEntryCount() == 1 )
{
sal_Int32 nPos = mpCBDateTimeFormat->GetSelectedEntryPos();
rSettings.meDateFormat = nDateTimeFormats[nPos].meDateFormat;
diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx
index e8ad17bac65c..a52613601898 100644
--- a/sd/source/ui/dlg/navigatr.cxx
+++ b/sd/source/ui/dlg/navigatr.cxx
@@ -188,7 +188,7 @@ void SdNavigatorWin::InitTreeLB( const SdDrawDocument* pDoc )
maLbDocs->SelectEntry( aDocShName );
// commented in order to fix 30246
-// if( maLbDocs->GetSelectEntryCount() == 0 )
+// if( maLbDocs->GetSelectedEntryCount() == 0 )
{
RefreshDocumentLB();
maLbDocs->SelectEntry( aDocShName );
diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx
index 88450b79c0ce..8ba6dc43b64f 100644
--- a/sd/source/ui/dlg/tpaction.cxx
+++ b/sd/source/ui/dlg/tpaction.cxx
@@ -277,7 +277,7 @@ bool SdTPAction::FillItemSet( SfxItemSet* rAttrs )
bool bModified = false;
presentation::ClickAction eCA = presentation::ClickAction_NONE;
- if( m_pLbAction->GetSelectEntryCount() )
+ if( m_pLbAction->GetSelectedEntryCount() )
eCA = GetActualClickAction();
if( m_pLbAction->IsValueChangedFromSaved() )