From 38c03901406b439ea3453279838894d9c0b4bd3d Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 13 Nov 2017 10:52:47 +0200 Subject: Apparent fix for what seems like a copy-paste error by me in 2014 (in 5f27a6864420815d0d0abc409333fec963536faf.) Whether this has anything to do with tdf#92190 is unclear. (I am not able to reproduce that bug.) Thanks to Telesto for noticing this copy-paste issue. Change-Id: Iab47db59dc2af76adf70d92ab8333e06cd40e0d6 --- vcl/osx/salprn.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx index d103ba99e5b2..9fdfe569422c 100644 --- a/vcl/osx/salprn.cxx +++ b/vcl/osx/salprn.cxx @@ -64,7 +64,7 @@ AquaSalInfoPrinter::AquaSalInfoPrinter( const SalPrinterQueueInfo& i_rQueue ) : { mpPrintInfo = [pShared copy]; [mpPrintInfo setPrinter: mpPrinter]; - mePageOrientation = ([mpPrintInfo orientation] == NSPaperOrientationPortrait) ? Orientation::Landscape : Orientation::Portrait; + mePageOrientation = ([mpPrintInfo orientation] == NSPaperOrientationLandscape) ? Orientation::Landscape : Orientation::Portrait; [mpPrintInfo setOrientation: NSPaperOrientationPortrait]; } -- cgit