https://issues.apache.org/ooo/show_bug.cgi?id=124160

[email protected] <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Compiler error              |type mismatch of
                   |                            |NSPortraitOrientation in
                   |                            |newer OSX SDKs
                 OS|All                         |Mac OSX, 10.9

--- Comment #8 from [email protected] <[email protected]> ---
According to the NSPrintInfo reference [1] the code looks good even for newer
SDKs.

Does a cast work too? Please change the line to
  [mpPrintInfo setOrientation: (NSPrintingOrientation)NSPortraitOrientation];
and check if this works. NSPaperOrientationPortrait isn't available in SDKs
10.7 and 10.8.

[1]
https://developer.apple.com/library/mac/documentation/cocoa/reference/applicationkit/classes/NSPrintInfo_Class/Reference/Reference.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to