summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-06-03 10:16:26 +0300
committerTor Lillqvist <tml@collabora.com>2014-06-11 10:02:36 +0300
commit21efca24cf34e1c8c3713e258bb03896147df969 (patch)
treedea291ab2c18c1cfb6a83197b5489edaa0d223b9
parent34a2eb09d094b9bd47e4b27ceeaada12dfafec3c (diff)
WaE: 'NSPrintSavePath' is deprecated: first deprecated in OS X 10.6
Change-Id: I810b42da1d62c66c2ab6fb7bb6f71d1d00115dfa
-rw-r--r--vcl/aqua/source/gdi/salprn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/gdi/salprn.cxx b/vcl/aqua/source/gdi/salprn.cxx
index 83e126d5cec4..8237d1c7c66d 100644
--- a/vcl/aqua/source/gdi/salprn.cxx
+++ b/vcl/aqua/source/gdi/salprn.cxx
@@ -492,7 +492,7 @@ sal_Bool AquaSalInfoPrinter::StartJob( const OUString* i_pFileName,
{
[mpPrintInfo setJobDisposition: NSPrintSaveJob];
NSString* pPath = CreateNSString( *i_pFileName );
- [pPrintDict setObject: pPath forKey: NSPrintSavePath];
+ [pPrintDict setObject:[NSURL fileURLWithPath:pPath] forKey:NSPrintJobSavingURL];
[pPath release];
}