summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-06-05 00:53:03 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-06 07:10:11 +0000
commit82407c651ee8b5d8876d4a1f76898de33c69e232 (patch)
tree0e6c42c8ea083a13d7610dbe0cdc19163df754e4 /include
parent101e7d94092291c2117b7a1a61b1a8155a5e750b (diff)
tdf#89329: use unique_ptr for pImpl in viewsh
Change-Id: I8847b734c90adf2710f5481af41883eb5017c44a Reviewed-on: https://gerrit.libreoffice.org/25911 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/viewsh.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx
index f76e00c70328..936df3814cdf 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -148,7 +148,7 @@ friend class SfxBaseController;
friend class SfxPrinterController;
#endif
- struct SfxViewShell_Impl* pImp;
+ std::unique_ptr<struct SfxViewShell_Impl> pImpl;
SfxViewFrame* pFrame;
SfxShell* pSubShell;
VclPtr<vcl::Window> pWindow;