diff options
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/filter/html/pubdlg.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/animations/CustomAnimationPane.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/animations/SlideTransitionPane.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/dlg/PhotoAlbumDialog.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/dlg/custsdlg.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/headerfooterdlg.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/navigatr.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/tpaction.cxx | 2 |
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() ) |