vcl/osx/salprn.cxx | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit e509b9303bd0141143bc6e707f98a72b96d91311 Author: Douglas Mencken <dougmenc...@gmail.com> Date: Thu Jun 12 15:05:06 2014 -0400
fix build error "error: NSPrintJobSavingURL was not declared in this scope" see commits: c5c317ed20933c6508b35c34039df31669943f1c Change-Id: I3a886bde11dc3620cffeb3e2e579c7b37285d9c5 Reviewed-on: https://gerrit.libreoffice.org/9759 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx index 9440bb3..52c0902 100644 --- a/vcl/osx/salprn.cxx +++ b/vcl/osx/salprn.cxx @@ -462,7 +462,11 @@ bool AquaSalInfoPrinter::StartJob( const OUString* i_pFileName, { [mpPrintInfo setJobDisposition: NSPrintSaveJob]; NSString* pPath = CreateNSString( *i_pFileName ); +#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060 + [pPrintDict setObject:[NSURL fileURLWithPath:pPath] forKey:NSPrintSavePath]; +#else [pPrintDict setObject:[NSURL fileURLWithPath:pPath] forKey:NSPrintJobSavingURL]; +#endif [pPath release]; }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits