diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/abpilot/tableselectionpage.cxx | 4 | ||||
-rw-r--r-- | extensions/source/dbpilots/commonpagesdbp.cxx | 6 | ||||
-rw-r--r-- | extensions/source/dbpilots/gridwizard.cxx | 4 | ||||
-rw-r--r-- | extensions/source/dbpilots/groupboxwiz.cxx | 4 | ||||
-rw-r--r-- | extensions/source/dbpilots/listcombowizard.cxx | 8 | ||||
-rw-r--r-- | extensions/source/propctrlr/listselectiondlg.cxx | 2 |
6 files changed, 14 insertions, 14 deletions
diff --git a/extensions/source/abpilot/tableselectionpage.cxx b/extensions/source/abpilot/tableselectionpage.cxx index c8c2447a7a38..d6882a0f6644 100644 --- a/extensions/source/abpilot/tableselectionpage.cxx +++ b/extensions/source/abpilot/tableselectionpage.cxx @@ -82,7 +82,7 @@ namespace abp IMPL_LINK_NOARG( TableSelectionPage, OnTableDoubleClicked, ListBox&, void ) { - if ( 1 == m_pTableList->GetSelectEntryCount() ) + if ( 1 == m_pTableList->GetSelectedEntryCount() ) getDialog()->travelNext(); } @@ -108,7 +108,7 @@ namespace abp bool TableSelectionPage::canAdvance() const { return AddressBookSourcePage::canAdvance() - && ( 0 < m_pTableList->GetSelectEntryCount() ); + && ( 0 < m_pTableList->GetSelectedEntryCount() ); } diff --git a/extensions/source/dbpilots/commonpagesdbp.cxx b/extensions/source/dbpilots/commonpagesdbp.cxx index 713507e5c2f4..463af3ca142e 100644 --- a/extensions/source/dbpilots/commonpagesdbp.cxx +++ b/extensions/source/dbpilots/commonpagesdbp.cxx @@ -108,10 +108,10 @@ namespace dbp if (!OControlWizardPage::canAdvance()) return false; - if (0 == m_pDatasource->GetSelectEntryCount()) + if (0 == m_pDatasource->GetSelectedEntryCount()) return false; - if (0 == m_pTable->GetSelectEntryCount()) + if (0 == m_pTable->GetSelectedEntryCount()) return false; return true; @@ -229,7 +229,7 @@ namespace dbp IMPL_LINK( OTableSelectionPage, OnListboxDoubleClicked, ListBox&, _rBox, void ) { - if (_rBox.GetSelectEntryCount()) + if (_rBox.GetSelectedEntryCount()) getDialog()->travelNext(); } diff --git a/extensions/source/dbpilots/gridwizard.cxx b/extensions/source/dbpilots/gridwizard.cxx index 3d782de06dd1..87cd21f0358a 100644 --- a/extensions/source/dbpilots/gridwizard.cxx +++ b/extensions/source/dbpilots/gridwizard.cxx @@ -378,10 +378,10 @@ namespace dbp void OGridFieldsSelection::implCheckButtons() { - m_pSelectOne->Enable(m_pExistFields->GetSelectEntryCount() != 0); + m_pSelectOne->Enable(m_pExistFields->GetSelectedEntryCount() != 0); m_pSelectAll->Enable(m_pExistFields->GetEntryCount() != 0); - m_pDeselectOne->Enable(m_pSelFields->GetSelectEntryCount() != 0); + m_pDeselectOne->Enable(m_pSelFields->GetSelectedEntryCount() != 0); m_pDeselectAll->Enable(m_pSelFields->GetEntryCount() != 0); getDialog()->enableButtons(WizardButtonFlags::FINISH, 0 != m_pSelFields->GetEntryCount()); diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx index 703d48f9facc..46e2cd902240 100644 --- a/extensions/source/dbpilots/groupboxwiz.cxx +++ b/extensions/source/dbpilots/groupboxwiz.cxx @@ -258,7 +258,7 @@ namespace dbp bool bMoveLeft = (m_pMoveLeft == _pButton); if (bMoveLeft) { - while (m_pExistingRadios->GetSelectEntryCount()) + while (m_pExistingRadios->GetSelectedEntryCount()) m_pExistingRadios->RemoveEntry(m_pExistingRadios->GetSelectedEntryPos()); } else @@ -298,7 +298,7 @@ namespace dbp void ORadioSelectionPage::implCheckMoveButtons() { bool bHaveSome = (0 != m_pExistingRadios->GetEntryCount()); - bool bSelectedSome = (0 != m_pExistingRadios->GetSelectEntryCount()); + bool bSelectedSome = (0 != m_pExistingRadios->GetSelectedEntryCount()); bool bUnfinishedInput = (!m_pRadioName->GetText().isEmpty()); m_pMoveLeft->Enable(bSelectedSome); diff --git a/extensions/source/dbpilots/listcombowizard.cxx b/extensions/source/dbpilots/listcombowizard.cxx index 4b9076bbc89e..ae2426a657fe 100644 --- a/extensions/source/dbpilots/listcombowizard.cxx +++ b/extensions/source/dbpilots/listcombowizard.cxx @@ -294,7 +294,7 @@ namespace dbp if (!OLCPage::canAdvance()) return false; - return 0 != m_pSelectTable->GetSelectEntryCount(); + return 0 != m_pSelectTable->GetSelectedEntryCount(); } @@ -306,7 +306,7 @@ namespace dbp IMPL_LINK( OContentTableSelection, OnTableDoubleClicked, ListBox&, _rListBox, void ) { - if (_rListBox.GetSelectEntryCount()) + if (_rListBox.GetSelectedEntryCount()) getDialog()->travelNext(); } @@ -390,13 +390,13 @@ namespace dbp if (!OLCPage::canAdvance()) return false; - return 0 != m_pSelectTableField->GetSelectEntryCount(); + return 0 != m_pSelectTableField->GetSelectedEntryCount(); } IMPL_LINK_NOARG( OContentFieldSelection, OnTableDoubleClicked, ListBox&, void ) { - if (m_pSelectTableField->GetSelectEntryCount()) + if (m_pSelectTableField->GetSelectedEntryCount()) getDialog()->travelNext(); } diff --git a/extensions/source/propctrlr/listselectiondlg.cxx b/extensions/source/propctrlr/listselectiondlg.cxx index 2e09942d89e6..86525d5f175e 100644 --- a/extensions/source/propctrlr/listselectiondlg.cxx +++ b/extensions/source/propctrlr/listselectiondlg.cxx @@ -131,7 +131,7 @@ namespace pcr void ListSelectionDialog::collectSelection( std::vector< sal_Int16 >& /* [out] */ _rSelection ) { - const sal_Int32 nSelectedCount = m_pEntries->GetSelectEntryCount( ); + const sal_Int32 nSelectedCount = m_pEntries->GetSelectedEntryCount( ); _rSelection.resize( nSelectedCount ); for ( sal_Int32 selected = 0; selected < nSelectedCount; ++selected ) _rSelection[selected] = static_cast< sal_Int16 >( m_pEntries->GetSelectedEntryPos( selected ) ); |