diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-16 15:24:04 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 11:32:11 +0100 |
commit | efa40d415046d377b293fea14a4a3c3fd1bf0129 (patch) | |
tree | afcb4666bbd465365e76793217c9fc186c617d5d /vcl/osx/salprn.cxx | |
parent | c72fac269626cd4c2c3f62a6eed69e47b59256a4 (diff) |
vclptr: switch printers away from boost_shared.
Also continue to move to extended toolkit/ API.
Change-Id: Ibd4337b014ee096c84d0ad4435e2c5de1b258afe
Diffstat (limited to 'vcl/osx/salprn.cxx')
-rw-r--r-- | vcl/osx/salprn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx index 0becb853426a..ed631b082b75 100644 --- a/vcl/osx/salprn.cxx +++ b/vcl/osx/salprn.cxx @@ -448,7 +448,7 @@ bool AquaSalInfoPrinter::StartJob( const OUString* i_pFileName, // information (e.g. brochure printing scales to the found paper size) // also SetPaperSizeUser has the advantage that we can share a // platform independent paper matching algorithm - std::shared_ptr<Printer> pPrinter( i_rController.getPrinter() ); + VclPtr<Printer> pPrinter( i_rController.getPrinter() ); pPrinter->SetMapMode( MapMode( MAP_100TH_MM ) ); pPrinter->SetPaperSizeUser( aCurSize, true ); |