summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-24 13:38:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-30 08:38:50 +0200
commitdb41d66179916146411cd2483460d7ab4ba7e6c4 (patch)
treed78ebfa9639be17be5b0caac137813ed98eca1cc /include
parent6b2e5bce6e658a6e6c202ed801052da14b5f87be (diff)
loplugin:useuniqueptr in SvTreeListBox
Change-Id: Ib5b4cb667e8c7979ba03a680af7923f9caf9dfc3 Reviewed-on: https://gerrit.libreoffice.org/53593 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svtools/treelistbox.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx
index ac58f6228069..83c7b83f0490 100644
--- a/include/svtools/treelistbox.hxx
+++ b/include/svtools/treelistbox.hxx
@@ -291,7 +291,7 @@ protected:
virtual sal_uLong Insert( SvTreeListEntry* pEntry,sal_uLong nRootPos = TREELIST_APPEND );
// In-place editing
- SvInplaceEdit2* pEdCtrl;
+ std::unique_ptr<SvInplaceEdit2> pEdCtrl;
void EditText( const OUString&, const tools::Rectangle&,const Selection&);
void CancelTextEditing();
bool EditingCanceled() const;