summaryrefslogtreecommitdiff
path: root/editeng
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 /editeng
parent04a8ba2084950f998d791edad29739c124c8c4b8 (diff)
convert Orientation to scoped enum
Change-Id: Ifbfcf3557ca2a16d21e7a1d613ee54c1c6625f07
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/paperinf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/paperinf.cxx b/editeng/source/items/paperinf.cxx
index 118d532d3a1c..42d49e768369 100644
--- a/editeng/source/items/paperinf.cxx
+++ b/editeng/source/items/paperinf.cxx
@@ -77,7 +77,7 @@ Size SvxPaperInfo::GetPaperSize( const Printer* pPrinter )
const Orientation eOrient = pPrinter->GetOrientation();
Size aSize( GetPaperSize( ePaper ) );
// for Landscape exchange the pages, has already been done by SV
- if ( eOrient == ORIENTATION_LANDSCAPE )
+ if ( eOrient == Orientation::Landscape )
Swap( aSize );
return aSize;
}