diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-05-26 01:56:34 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-26 07:42:10 +0000 |
commit | 2ef6a52edddcca851c8b4555fd45e8f88d23a7bb (patch) | |
tree | d2cf640bcccd7ca78b22f24c4046f4f455d77bfe /include | |
parent | 2c7a0652b86a24b6ea42746002dfaec09737f58a (diff) |
tdf#89329: use unique_ptr for pImpl in treelistbox
Change-Id: I5ba1638c905893f62d6d24d7c88cbb66aaa7c786
Reviewed-on: https://gerrit.libreoffice.org/25480
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/treelistbox.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<SvTreeListBoxImpl> mpImpl; Link<SvTreeListBox*,void> aCheckButtonHdl; Link<SvTreeListBox*,void> aScrolledHdl; Link<SvTreeListBox*,void> aExpandedHdl; @@ -267,7 +267,7 @@ class SVT_DLLPUBLIC SvTreeListBox SvLBoxItem* pEdItem; protected: - SvImpLBox* pImp; + std::unique_ptr<SvImpLBox> pImpl; short nColumns; short nEntryHeight; short nEntryWidth; |