summaryrefslogtreecommitdiff
path: root/vcl/inc/unx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-15 16:03:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-17 10:16:35 +0200
commit812aa0512d0f77673b4ccda1187cccd0c9352e48 (patch)
treeab58320a31f15e32b6168f82898c020c266d4e17 /vcl/inc/unx
parenta9286f445d15207069799655ef59267d5d371c65 (diff)
loplugin:useuniqueptr in PspSalInfoPrinter
Change-Id: I77494fca8f0c326aa35872640b99596597116ef2
Diffstat (limited to 'vcl/inc/unx')
-rw-r--r--vcl/inc/unx/genprn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/unx/genprn.h b/vcl/inc/unx/genprn.h
index 4a1c2db0a538..f741ca03effb 100644
--- a/vcl/inc/unx/genprn.h
+++ b/vcl/inc/unx/genprn.h
@@ -30,7 +30,7 @@ class GenPspGraphics;
class VCL_DLLPUBLIC PspSalInfoPrinter : public SalInfoPrinter
{
public:
- GenPspGraphics* m_pGraphics;
+ std::unique_ptr<GenPspGraphics> m_pGraphics;
psp::JobData m_aJobData;
psp::PrinterGfx m_aPrinterGfx;