diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-11-13 10:52:47 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-11-13 10:57:12 +0200 |
commit | 38c03901406b439ea3453279838894d9c0b4bd3d (patch) | |
tree | 9774ecfa4b2a980453b6e149790723609194ac22 /vcl/osx/salprn.cxx | |
parent | 4d982839241041ad959bbd577223009af142fb4d (diff) |
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
Diffstat (limited to 'vcl/osx/salprn.cxx')
-rw-r--r-- | vcl/osx/salprn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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]; } |