summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-05-22 17:59:30 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-23 06:22:27 +0000
commita1cfd9ff7dc0371720c4e2670e318a8282bd9735 (patch)
treeeb9648700508de44671e9792baa3c252b50d065b /include
parentea0f63336db0e36cae94fdff3c9778088c0fc092 (diff)
tdf#89329: use unique_ptr for pImpl in new
Fix "error: declaration of ‘pImpl’ shadows a member of 'this' [-Werror=shadow]" too Change-Id: Ib0fc66375ed7d9ae700d5a81a2adb5975fcae592 Reviewed-on: https://gerrit.libreoffice.org/25319 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/new.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/new.hxx b/include/sfx2/new.hxx
index 56a7c2f865a8..c7f5b625b01e 100644
--- a/include/sfx2/new.hxx
+++ b/include/sfx2/new.hxx
@@ -59,7 +59,7 @@ class SFX2_DLLPUBLIC SfxNewFileDialog : public SfxModalDialog
friend class SfxNewFileDialog_Impl;
private:
- SfxNewFileDialog_Impl* pImpl;
+ std::unique_ptr< SfxNewFileDialog_Impl > pImpl;
public: