From 2ef6a52edddcca851c8b4555fd45e8f88d23a7bb Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Thu, 26 May 2016 01:56:34 +0200 Subject: tdf#89329: use unique_ptr for pImpl in treelistbox Change-Id: I5ba1638c905893f62d6d24d7c88cbb66aaa7c786 Reviewed-on: https://gerrit.libreoffice.org/25480 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svtools/treelistbox.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index 003122b30fb6..f4342b8e465f 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -230,7 +230,7 @@ class SVT_DLLPUBLIC SvTreeListBox friend class IconViewImpl; friend class TreeControlPeer; - SvTreeListBoxImpl* mpImpl; + std::unique_ptr mpImpl; Link aCheckButtonHdl; Link aScrolledHdl; Link aExpandedHdl; @@ -267,7 +267,7 @@ class SVT_DLLPUBLIC SvTreeListBox SvLBoxItem* pEdItem; protected: - SvImpLBox* pImp; + std::unique_ptr pImpl; short nColumns; short nEntryHeight; short nEntryWidth; -- cgit