diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-14 16:57:06 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-21 12:45:38 +0200 |
commit | d99b65c864cc3358238e4eac651f12a34d05e2d9 (patch) | |
tree | fcd7d6fefb9434c27533c826aabc639f68ba97ed /extensions | |
parent | b649e5bf1d3f0a11fb0c2fdf6fa08329529ce6fb (diff) |
Rename GetSelectEntryPos -> GetSelectedEntryPos
Change-Id: I0bd4cb463575af843c72d9c8aaf91742203532a4
Reviewed-on: https://gerrit.libreoffice.org/42283
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/datman.cxx | 4 | ||||
-rw-r--r-- | extensions/source/dbpilots/gridwizard.cxx | 6 | ||||
-rw-r--r-- | extensions/source/dbpilots/groupboxwiz.cxx | 4 | ||||
-rw-r--r-- | extensions/source/propctrlr/listselectiondlg.cxx | 2 | ||||
-rw-r--r-- | extensions/source/scanner/grid.cxx | 2 | ||||
-rw-r--r-- | extensions/source/scanner/sanedlg.cxx | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index de05ae1df728..22d4e8fae122 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -413,12 +413,12 @@ void MappingDialog_Impl::dispose() IMPL_LINK(MappingDialog_Impl, ListBoxSelectHdl, ListBox&, rListBox, void) { - const sal_Int32 nEntryPos = rListBox.GetSelectEntryPos(); + const sal_Int32 nEntryPos = rListBox.GetSelectedEntryPos(); if(0 < nEntryPos) { for(VclPtr<ListBox> & aListBoxe : aListBoxes) { - if(&rListBox != aListBoxe && aListBoxe->GetSelectEntryPos() == nEntryPos) + if(&rListBox != aListBoxe && aListBoxe->GetSelectedEntryPos() == nEntryPos) aListBoxe->SelectEntryPos(0); } } diff --git a/extensions/source/dbpilots/gridwizard.cxx b/extensions/source/dbpilots/gridwizard.cxx index 94880bd20a2f..3d782de06dd1 100644 --- a/extensions/source/dbpilots/gridwizard.cxx +++ b/extensions/source/dbpilots/gridwizard.cxx @@ -410,7 +410,7 @@ namespace dbp ListBox& rMoveTo = bMoveRight ? *m_pSelFields : *m_pExistFields; // the index of the selected entry - const sal_Int32 nSelected = bMoveRight ? m_pExistFields->GetSelectEntryPos() : m_pSelFields->GetSelectEntryPos(); + const sal_Int32 nSelected = bMoveRight ? m_pExistFields->GetSelectedEntryPos() : m_pSelFields->GetSelectedEntryPos(); // the (original) relative position of the entry sal_IntPtr nRelativeIndex = reinterpret_cast<sal_IntPtr>(bMoveRight ? m_pExistFields->GetEntryData(nSelected) : m_pSelFields->GetEntryData(nSelected)); @@ -437,7 +437,7 @@ namespace dbp // remove the entry from its old list if (bMoveRight) { - sal_Int32 nSelectPos = m_pExistFields->GetSelectEntryPos(); + sal_Int32 nSelectPos = m_pExistFields->GetSelectedEntryPos(); m_pExistFields->RemoveEntry(nSelected); if ((LISTBOX_ENTRY_NOTFOUND != nSelectPos) && (nSelectPos < m_pExistFields->GetEntryCount())) m_pExistFields->SelectEntryPos(nSelectPos); @@ -446,7 +446,7 @@ namespace dbp } else { - sal_Int32 nSelectPos = m_pSelFields->GetSelectEntryPos(); + sal_Int32 nSelectPos = m_pSelFields->GetSelectedEntryPos(); m_pSelFields->RemoveEntry(nSelected); if ((LISTBOX_ENTRY_NOTFOUND != nSelectPos) && (nSelectPos < m_pSelFields->GetEntryCount())) m_pSelFields->SelectEntryPos(nSelectPos); diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx index 740d8fe15d72..703d48f9facc 100644 --- a/extensions/source/dbpilots/groupboxwiz.cxx +++ b/extensions/source/dbpilots/groupboxwiz.cxx @@ -259,7 +259,7 @@ namespace dbp if (bMoveLeft) { while (m_pExistingRadios->GetSelectEntryCount()) - m_pExistingRadios->RemoveEntry(m_pExistingRadios->GetSelectEntryPos()); + m_pExistingRadios->RemoveEntry(m_pExistingRadios->GetSelectedEntryPos()); } else { @@ -417,7 +417,7 @@ namespace dbp m_aUncommittedValues[m_nLastSelection] = m_pValue->GetText(); } - m_nLastSelection = m_pOptions->GetSelectEntryPos(); + m_nLastSelection = m_pOptions->GetSelectedEntryPos(); DBG_ASSERT((size_t)m_nLastSelection < m_aUncommittedValues.size(), "OOptionValuesPage::implTraveledOptions: invalid new selection index!"); m_pValue->SetText(m_aUncommittedValues[m_nLastSelection]); } diff --git a/extensions/source/propctrlr/listselectiondlg.cxx b/extensions/source/propctrlr/listselectiondlg.cxx index 4685b169fe68..2e09942d89e6 100644 --- a/extensions/source/propctrlr/listselectiondlg.cxx +++ b/extensions/source/propctrlr/listselectiondlg.cxx @@ -134,7 +134,7 @@ namespace pcr const sal_Int32 nSelectedCount = m_pEntries->GetSelectEntryCount( ); _rSelection.resize( nSelectedCount ); for ( sal_Int32 selected = 0; selected < nSelectedCount; ++selected ) - _rSelection[selected] = static_cast< sal_Int16 >( m_pEntries->GetSelectEntryPos( selected ) ); + _rSelection[selected] = static_cast< sal_Int16 >( m_pEntries->GetSelectedEntryPos( selected ) ); } diff --git a/extensions/source/scanner/grid.cxx b/extensions/source/scanner/grid.cxx index 30568ae94f51..7acef8421f71 100644 --- a/extensions/source/scanner/grid.cxx +++ b/extensions/source/scanner/grid.cxx @@ -706,7 +706,7 @@ IMPL_LINK( GridDialog, ClickButtonHdl, Button*, pButton, void ) { if (pButton == m_pResetButton) { - int nType = m_pResetTypeBox->GetSelectEntryPos(); + int nType = m_pResetTypeBox->GetSelectedEntryPos(); m_pGridWindow->ChangeMode((ResetType)nType); } } diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx index df7598320afc..67de8730e624 100644 --- a/extensions/source/scanner/sanedlg.cxx +++ b/extensions/source/scanner/sanedlg.cxx @@ -678,7 +678,7 @@ IMPL_LINK( SaneDlg, SelectHdl, ListBox&, rListBox, void ) { if( &rListBox == mpDeviceBox && Sane::IsSane() && Sane::CountDevices() ) { - int nNewNumber = mpDeviceBox->GetSelectEntryPos(); + int nNewNumber = mpDeviceBox->GetSelectedEntryPos(); int nOldNumber = mrSane.GetDeviceNumber(); if (nNewNumber != nOldNumber) { |