summaryrefslogtreecommitdiff
path: root/sc/source/ui/pagedlg
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/pagedlg')
-rw-r--r--sc/source/ui/pagedlg/areasdlg.cxx4
-rw-r--r--sc/source/ui/pagedlg/scuitphfedit.cxx2
-rw-r--r--sc/source/ui/pagedlg/tptable.cxx10
3 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/pagedlg/areasdlg.cxx b/sc/source/ui/pagedlg/areasdlg.cxx
index 7cc054ced048..9626d22e33a1 100644
--- a/sc/source/ui/pagedlg/areasdlg.cxx
+++ b/sc/source/ui/pagedlg/areasdlg.cxx
@@ -481,7 +481,7 @@ IMPL_LINK( ScPrintAreasDlg, Impl_BtnHdl, Button*, pBtn, void )
// Printing area changed?
// first try the list box, if "Entire sheet" is selected
- bool bEntireSheet = (pLbPrintArea->GetSelectEntryPos() == SC_AREASDLG_PR_ENTIRE);
+ bool bEntireSheet = (pLbPrintArea->GetSelectedEntryPos() == SC_AREASDLG_PR_ENTIRE);
SfxBoolItem aEntireSheet( FN_PARAM_4, bEntireSheet );
bool bDataChanged = bEntireSheet != pDoc->IsPrintEntireSheet( nCurTab );
@@ -540,7 +540,7 @@ IMPL_LINK( ScPrintAreasDlg, Impl_GetFocusHdl, Control&, rCtrl, void )
IMPL_LINK( ScPrintAreasDlg, Impl_SelectHdl, ListBox&, rLb, void )
{
ListBox* pLb = &rLb;
- const sal_Int32 nSelPos = pLb->GetSelectEntryPos();
+ const sal_Int32 nSelPos = pLb->GetSelectedEntryPos();
Edit* pEd = nullptr;
// list box positions of specific entries, default to "repeat row/column" list boxes
diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx
index 5965e048bb5e..67155250f87e 100644
--- a/sc/source/ui/pagedlg/scuitphfedit.cxx
+++ b/sc/source/ui/pagedlg/scuitphfedit.cxx
@@ -759,7 +759,7 @@ IMPL_LINK( ScHFEditPage, ListHdl_Impl, ListBox&, rList, void )
{
if ( &rList == m_pLbDefined )
{
- ScHFEntryId eSel = static_cast<ScHFEntryId>(m_pLbDefined->GetSelectEntryPos());
+ ScHFEntryId eSel = static_cast<ScHFEntryId>(m_pLbDefined->GetSelectedEntryPos());
if(!m_pLbDefined->IsTravelSelect())
{
ProcessDefinedListSel(eSel, false);
diff --git a/sc/source/ui/pagedlg/tptable.cxx b/sc/source/ui/pagedlg/tptable.cxx
index fab08754d31e..b596d2d4368f 100644
--- a/sc/source/ui/pagedlg/tptable.cxx
+++ b/sc/source/ui/pagedlg/tptable.cxx
@@ -384,13 +384,13 @@ IMPL_LINK( ScTablePage, PageNoHdl, Button*, pBtn, void )
IMPL_LINK_NOARG(ScTablePage, ScaleHdl, ListBox&, void)
{
// controls for Box "Reduce/enlarge"
- m_pBxScaleAll->Show(m_pLbScaleMode->GetSelectEntryPos() == SC_TPTABLE_SCALE_PERCENT);
+ m_pBxScaleAll->Show(m_pLbScaleMode->GetSelectedEntryPos() == SC_TPTABLE_SCALE_PERCENT);
// controls for Grid "Scale to width/height"
- m_pGrHeightWidth->Show(m_pLbScaleMode->GetSelectEntryPos() == SC_TPTABLE_SCALE_TO);
+ m_pGrHeightWidth->Show(m_pLbScaleMode->GetSelectedEntryPos() == SC_TPTABLE_SCALE_TO);
// controls for Box "Scale to pages"
- m_pBxScalePageNum->Show(m_pLbScaleMode->GetSelectEntryPos() == SC_TPTABLE_SCALE_TO_PAGES);
+ m_pBxScalePageNum->Show(m_pLbScaleMode->GetSelectedEntryPos() == SC_TPTABLE_SCALE_TO_PAGES);
}
// Helper functions for FillItemSet:
@@ -439,7 +439,7 @@ static bool lcl_PutScaleItem( sal_uInt16 nWhich,
const SpinField& rEd,
sal_uInt16 nValue )
{
- bool bIsSel = (rListBox.GetSelectEntryPos() == nLBEntry);
+ bool bIsSel = (rListBox.GetSelectedEntryPos() == nLBEntry);
bool bDataChanged = (rListBox.GetSavedValue() != nLBEntry) ||
rEd.IsValueChangedFromSaved() ||
!WAS_DEFAULT( nWhich, rOldSet );
@@ -462,7 +462,7 @@ static bool lcl_PutScaleItem2( sal_uInt16 nWhich,
{
sal_uInt16 nValue1 = (sal_uInt16)rEd1.GetValue();
sal_uInt16 nValue2 = (sal_uInt16)rEd2.GetValue();
- bool bIsSel = (rListBox.GetSelectEntryPos() == nLBEntry);
+ bool bIsSel = (rListBox.GetSelectedEntryPos() == nLBEntry);
bool bDataChanged = (rListBox.GetSavedValue() != nLBEntry) ||
rEd1.IsValueChangedFromSaved() ||
rEd2.IsValueChangedFromSaved() ||