summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-17 15:58:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-25 14:28:26 +0200
commitadd7d506b9ef9b799aefbbae1270642991b15668 (patch)
tree59bec8482d832a8bbcf8abd13c8529161b904cb3 /basctl
parent191dda3eca5518aa866ddada48bc8465c8aba1ba (diff)
loplugin:useuniqueptr in SvImpLBox
Change-Id: I59aa026217ed250fab68afc4aa0086d4d1300eac Reviewed-on: https://gerrit.libreoffice.org/60627 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2b.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index f2ccbc6e3812..4cbd2fe8c6b0 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -2096,7 +2096,7 @@ void WatchTreeListBox::SetTabs()
sal_uInt16 nTabCount_ = aTabs.size();
for( sal_uInt16 i = 0 ; i < nTabCount_ ; i++ )
{
- SvLBoxTab* pTab = aTabs[i];
+ SvLBoxTab* pTab = aTabs[i].get();
if( i == 2 )
pTab->nFlags |= SvLBoxTabFlags::EDITABLE;
else