diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-05-22 15:03:36 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-22 18:00:12 +0000 |
commit | fc1e5ccb9fdf294a5289a415c6cded2955bc8a98 (patch) | |
tree | bda33aa4a4b1891d76747d9534676d2ae446dc6f /include | |
parent | 5e32815a1d9d8591fcd0a4f31f3f6337a69c7505 (diff) |
tdf#89329: use unique_ptr for pImpl in childwin
Change-Id: I500912a67696eab72c58e2c72fc3aec97542925d
Reviewed-on: https://gerrit.libreoffice.org/25303
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/childwin.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx index 140bd0d69c5b..e017963dd5e6 100644 --- a/include/sfx2/childwin.hxx +++ b/include/sfx2/childwin.hxx @@ -147,14 +147,13 @@ class SFX2_DLLPUBLIC SfxChildWindow sal_uInt16 nType; // ChildWindow-Id VclPtr<vcl::Window> pWindow; // actual contents SfxChildAlignment eChildAlignment; // Current css::drawing::Alignment - SfxChildWindow_Impl* pImp; // Implementation data + std::unique_ptr< SfxChildWindow_Impl> pImpl; // Implementation data SfxChildWindowContext* pContext; // With context-sensitive ChildWindows: // Another window in pWindow SAL_DLLPRIVATE void ClearWorkwin(); protected: void SetWindow(const VclPtr<vcl::Window>& p) { pWindow = p; } - SfxChildWindow(vcl::Window *pParentWindow, sal_uInt16 nId); public: |