summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-06-04 23:54:47 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-06 07:16:09 +0000
commit6b51e9afe01171a46f19fb96b1c2a2074d5a92ca (patch)
tree19528dc37b8e10b91fd33e5546c8b82c21826bb7 /sfx2
parent1c087eb58df11bbfb14a564e5ad73e29664b73ce (diff)
tdf#89329: use unique_ptr for pImpl in prnmon
Change-Id: I73fe5dc51f2352c5def618ad4011b436f15230a2 Reviewed-on: https://gerrit.libreoffice.org/25900 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/printer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/printer.cxx b/sfx2/source/view/printer.cxx
index 7f95cf8c2992..996ab8a8f0c2 100644
--- a/sfx2/source/view/printer.cxx
+++ b/sfx2/source/view/printer.cxx
@@ -222,7 +222,7 @@ SfxPrintOptionsDialog::~SfxPrintOptionsDialog()
void SfxPrintOptionsDialog::dispose()
{
- delete pDlgImpl;
+ pDlgImpl.reset();
pPage.disposeAndClear();
delete pOptions;
ModalDialog::dispose();