Kaydet (Commit) 38c03901 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Apparent fix for what seems like a copy-paste error by me in 2014

(in 5f27a686.) 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
üst 4d982839
......@@ -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];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment