diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-04 12:02:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-09-05 08:21:46 +0200 |
commit | 87ee6c044d79978d2121087f5e1a10f417adf9c7 (patch) | |
tree | 5b1747d9d625da42a47c3ff0635f0124de0cd511 /vcl/unx/generic/print | |
parent | 04a8ba2084950f998d791edad29739c124c8c4b8 (diff) |
convert Orientation to scoped enum
Change-Id: Ifbfcf3557ca2a16d21e7a1d613ee54c1c6625f07
Diffstat (limited to 'vcl/unx/generic/print')
-rw-r--r-- | vcl/unx/generic/print/genprnpsp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/print/genprnpsp.cxx b/vcl/unx/generic/print/genprnpsp.cxx index e9b9d87e6884..573518ed7868 100644 --- a/vcl/unx/generic/print/genprnpsp.cxx +++ b/vcl/unx/generic/print/genprnpsp.cxx @@ -156,7 +156,7 @@ inline int TenMuToPt( int nUnits ) { return (int)((((double)nUnits)/35.27777778) static void copyJobDataToJobSetup( ImplJobSetup* pJobSetup, JobData& rData ) { pJobSetup->SetOrientation( (Orientation)(rData.m_eOrientation == orientation::Landscape ? - ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT)); + Orientation::Landscape : Orientation::Portrait)); // copy page size OUString aPaper; @@ -668,7 +668,7 @@ bool PspSalInfoPrinter::SetData( // merge orientation if necessary if( nSetDataFlags & JobSetFlags::ORIENTATION ) - aData.m_eOrientation = pJobSetup->GetOrientation() == ORIENTATION_LANDSCAPE ? orientation::Landscape : orientation::Portrait; + aData.m_eOrientation = pJobSetup->GetOrientation() == Orientation::Landscape ? orientation::Landscape : orientation::Portrait; // merge duplex if necessary if( nSetDataFlags & JobSetFlags::DUPLEXMODE ) |