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 /vcl/unx/generic | |
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 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/print/prtsetup.cxx | 6 | ||||
-rw-r--r-- | vcl/unx/generic/print/prtsetup.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/generic/print/prtsetup.cxx b/vcl/unx/generic/print/prtsetup.cxx index 4d24260e8fbd..c692e1ec8304 100644 --- a/vcl/unx/generic/print/prtsetup.cxx +++ b/vcl/unx/generic/print/prtsetup.cxx @@ -282,7 +282,7 @@ IMPL_LINK( RTSPaperPage, SelectHdl, ListBox&, rBox, void ) } else if( &rBox == m_pOrientBox ) { - m_pParent->m_aJobData.m_eOrientation = m_pOrientBox->GetSelectEntryPos() == 0 ? orientation::Portrait : orientation::Landscape; + m_pParent->m_aJobData.m_eOrientation = m_pOrientBox->GetSelectedEntryPos() == 0 ? orientation::Portrait : orientation::Landscape; } if( pKey ) { @@ -408,7 +408,7 @@ void RTSDevicePage::dispose() sal_uLong RTSDevicePage::getDepth() { - sal_uInt16 nSelectPos = m_pDepthBox->GetSelectEntryPos(); + sal_uInt16 nSelectPos = m_pDepthBox->GetSelectedEntryPos(); if (nSelectPos == 0) return 8; else @@ -417,7 +417,7 @@ sal_uLong RTSDevicePage::getDepth() sal_uLong RTSDevicePage::getColorDevice() { - sal_uInt16 nSelectPos = m_pSpaceBox->GetSelectEntryPos(); + sal_uInt16 nSelectPos = m_pSpaceBox->GetSelectedEntryPos(); switch (nSelectPos) { case 0: diff --git a/vcl/unx/generic/print/prtsetup.hxx b/vcl/unx/generic/print/prtsetup.hxx index f7f7a29fabf2..e343d6a319e0 100644 --- a/vcl/unx/generic/print/prtsetup.hxx +++ b/vcl/unx/generic/print/prtsetup.hxx @@ -97,7 +97,7 @@ public: void update(); - sal_Int32 getOrientation() const { return m_pOrientBox->GetSelectEntryPos(); } + sal_Int32 getOrientation() const { return m_pOrientBox->GetSelectedEntryPos(); } }; class RTSDevicePage : public TabPage |