diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-06-03 10:10:19 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-06-11 10:02:36 +0300 |
commit | 34a2eb09d094b9bd47e4b27ceeaada12dfafec3c (patch) | |
tree | af7cf95fd871a57e92c1694253e08372fc9064fb /vcl | |
parent | 15971ac9850ff125b444443dd2b085a261a55029 (diff) |
WaE: comparison of two values with different enumeration types
Change-Id: I611eefd20043386d00984f76a28d111e1c0495f1
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/aqua/source/gdi/salprn.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/aqua/source/gdi/salprn.cxx b/vcl/aqua/source/gdi/salprn.cxx index a71c8d644fe9..83e126d5cec4 100644 --- a/vcl/aqua/source/gdi/salprn.cxx +++ b/vcl/aqua/source/gdi/salprn.cxx @@ -68,10 +68,11 @@ AquaSalInfoPrinter::AquaSalInfoPrinter( const SalPrinterQueueInfo& i_rQueue ) : { mpPrintInfo = [pShared copy]; [mpPrintInfo setPrinter: mpPrinter]; - mePageOrientation = ([mpPrintInfo orientation] == NSLandscapeOrientation) ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; #if MACOSX_SDK_VERSION >= 1090 + mePageOrientation = ([mpPrintInfo orientation] == NSPaperOrientationPortrait) ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; [mpPrintInfo setOrientation: NSPaperOrientationPortrait]; #else + mePageOrientation = ([mpPrintInfo orientation] == NSLandscapeOrientation) ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; [mpPrintInfo setOrientation: NSPortraitOrientation]; #endif } |