summaryrefslogtreecommitdiff
path: root/vcl/osx/salprn.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-06-03 10:16:26 +0300
committerTor Lillqvist <tml@collabora.com>2014-06-03 21:29:07 +0300
commite1d82a7e2db1ea837303c072913cd52cacf75b3d (patch)
treed9445d1cad6beb1503277502b9b342022f969e2a /vcl/osx/salprn.cxx
parent5f27a6864420815d0d0abc409333fec963536faf (diff)
WaE: 'NSPrintSavePath' is deprecated: first deprecated in OS X 10.6
Change-Id: I810b42da1d62c66c2ab6fb7bb6f71d1d00115dfa
Diffstat (limited to 'vcl/osx/salprn.cxx')
-rw-r--r--vcl/osx/salprn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx
index f1dd2fa4e7d6..9440bb3eec7d 100644
--- a/vcl/osx/salprn.cxx
+++ b/vcl/osx/salprn.cxx
@@ -462,7 +462,7 @@ 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];
}