diff options
Diffstat (limited to 'vcl/unx')
-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 |