vcl/osx/salprn.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 38c03901406b439ea3453279838894d9c0b4bd3d Author: Tor Lillqvist <t...@collabora.com> Date: Mon Nov 13 10:52:47 2017 +0200 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 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]; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits