summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-05-22 17:29:23 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-23 06:24:38 +0000
commitdba7aaff1ac2e175f8a79caef7573d9120cf7c5c (patch)
tree85da2b7595b5e1728cc33f83fd0470d4f12d0e78 /include
parenta1cfd9ff7dc0371720c4e2670e318a8282bd9735 (diff)
tdf#89329: use unique_ptr for pImpl in printer
Change-Id: I8adbac922b7a44ae99325a489f87762dd86397de Reviewed-on: https://gerrit.libreoffice.org/25316 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/printer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/printer.hxx b/include/sfx2/printer.hxx
index 1e9c05bb03a0..2e5d5b43c823 100644
--- a/include/sfx2/printer.hxx
+++ b/include/sfx2/printer.hxx
@@ -35,7 +35,7 @@ class SFX2_DLLPUBLIC SfxPrinter : public Printer
{
private:
SfxItemSet* pOptions;
- SfxPrinter_Impl* pImpl;
+ std::unique_ptr< SfxPrinter_Impl > pImpl;
bool bKnown;
SAL_DLLPRIVATE void operator =(SfxPrinter &) = delete;