summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-16 15:24:04 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 11:32:11 +0100
commitefa40d415046d377b293fea14a4a3c3fd1bf0129 (patch)
treeafcb4666bbd465365e76793217c9fc186c617d5d /vcl/generic
parentc72fac269626cd4c2c3f62a6eed69e47b59256a4 (diff)
vclptr: switch printers away from boost_shared.
Also continue to move to extended toolkit/ API. Change-Id: Ibd4337b014ee096c84d0ad4435e2c5de1b258afe
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/print/genprnpsp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/generic/print/genprnpsp.cxx b/vcl/generic/print/genprnpsp.cxx
index 62a4bddeea3f..1977e2dd9070 100644
--- a/vcl/generic/print/genprnpsp.cxx
+++ b/vcl/generic/print/genprnpsp.cxx
@@ -1079,7 +1079,7 @@ bool PspSalPrinter::StartJob( const OUString* i_pFileName, const OUString& i_rJo
std::shared_ptr<vcl::PDFWriter> xWriter;
std::vector< PDFPrintFile > aPDFFiles;
- std::shared_ptr<Printer> xPrinter(i_rController.getPrinter());
+ VclPtr<Printer> xPrinter( i_rController.getPrinter() );
int nAllPages = i_rController.getFilteredPageCount();
i_rController.createProgressDialog();
bool bAborted = false;