diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-13 15:49:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-14 09:36:58 +0100 |
commit | 9f713bd753afd7b0ed8c16a17dc22755b5862d36 (patch) | |
tree | 5c7266078d04c3959e202f13706064261f4b83ba /sw/source/uibase/inc/navipi.hxx | |
parent | 721e6eb9899aa4ff6ee943e81caddb1722139adf (diff) |
DELETEZ->std::unique_ptr in SwNavigationPI
Change-Id: Ie8990e2efd43cc9ad5cd7e6d71514dffcc3ade49
Reviewed-on: https://gerrit.libreoffice.org/46398
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc/navipi.hxx')
-rw-r--r-- | sw/source/uibase/inc/navipi.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/navipi.hxx b/sw/source/uibase/inc/navipi.hxx index 8dd55101fc1e..db1b8714b782 100644 --- a/sw/source/uibase/inc/navipi.hxx +++ b/sw/source/uibase/inc/navipi.hxx @@ -30,6 +30,7 @@ #include <svx/sidebar/PanelLayout.hxx> #include "conttree.hxx" #include <ndarr.hxx> +#include <memory> class SwWrtShell; class SwNavigationPI; @@ -78,7 +79,7 @@ class SwNavigationPI : public PanelLayout, OUString m_aContextArr[3]; OUString m_aStatusArr[4]; - SfxObjectShellLock *m_pxObjectShell; + std::unique_ptr<SfxObjectShellLock> m_pxObjectShell; SwView *m_pContentView; SwWrtShell *m_pContentWrtShell; SwView *m_pActContView; |