summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/pview.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-04 12:02:54 +0200
committerNoel Grandin <noel@peralex.com>2016-09-05 08:21:46 +0200
commit87ee6c044d79978d2121087f5e1a10f417adf9c7 (patch)
tree5b1747d9d625da42a47c3ff0635f0124de0cd511 /sw/source/uibase/uiview/pview.cxx
parent04a8ba2084950f998d791edad29739c124c8c4b8 (diff)
convert Orientation to scoped enum
Change-Id: Ifbfcf3557ca2a16d21e7a1d613ee54c1c6625f07
Diffstat (limited to 'sw/source/uibase/uiview/pview.cxx')
-rw-r--r--sw/source/uibase/uiview/pview.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx
index fb869051b73e..a341cfca03ed 100644
--- a/sw/source/uibase/uiview/pview.cxx
+++ b/sw/source/uibase/uiview/pview.cxx
@@ -925,9 +925,9 @@ MOVEPAGE:
if(pPPVPD)
{
SfxPrinter* pPrinter = GetPrinter( true );
- if((pPrinter->GetOrientation() == ORIENTATION_LANDSCAPE)
+ if((pPrinter->GetOrientation() == Orientation::Landscape)
!= pPPVPD->GetLandscape())
- pPrinter->SetOrientation(pPPVPD->GetLandscape() ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT);
+ pPrinter->SetOrientation(pPPVPD->GetLandscape() ? Orientation::Landscape : Orientation::Portrait);
}
::SetAppPrintOptions( m_pViewWin->GetViewShell(), false );
m_bNormalPrint = false;