diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-23 14:24:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-24 08:26:57 +0200 |
commit | 63dbd42d9bdc2eba7ac45a4f5c761f0806a0ea78 (patch) | |
tree | a06a210763156cf5849afc1a06498b9a55e85ab2 /include/vcl/print.hxx | |
parent | ab2b4c0e1378072f05eee6b2c1bf6df311d6f1b3 (diff) |
loplugin:useuniqueptr in Printer
Change-Id: Icdc99c51fe3548f96f5da5ccd3ac88bfccffc63c
Reviewed-on: https://gerrit.libreoffice.org/53354
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/print.hxx')
-rw-r--r-- | include/vcl/print.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index 0c14fb3f2955..c80b514b05df 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -187,7 +187,7 @@ private: VclPtr<Printer> mpPrev; VclPtr<Printer> mpNext; VclPtr<VirtualDevice> mpDisplayDev; - PrinterOptions* mpPrinterOptions; + std::unique_ptr<PrinterOptions> mpPrinterOptions; OUString maPrinterName; OUString maDriver; OUString maPrintFile; |