From 9d9b3a61b1233fa6e1f399dcfba1e79f65f56caf Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 13 Nov 2017 10:42:43 +0200 Subject: MACOSX_SDK_VERSION is always at least 1090 Change-Id: I802d9aae2220ae6b8f67e3387c3b329f6b02163c --- vcl/osx/salprn.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'vcl/osx/salprn.cxx') diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx index 4285d418da84..d103ba99e5b2 100644 --- a/vcl/osx/salprn.cxx +++ b/vcl/osx/salprn.cxx @@ -64,13 +64,8 @@ AquaSalInfoPrinter::AquaSalInfoPrinter( const SalPrinterQueueInfo& i_rQueue ) : { mpPrintInfo = [pShared copy]; [mpPrintInfo setPrinter: mpPrinter]; -#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 } mpGraphics = new AquaSalGraphics(); -- cgit