diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-17 15:58:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-25 14:28:26 +0200 |
commit | add7d506b9ef9b799aefbbae1270642991b15668 (patch) | |
tree | 59bec8482d832a8bbcf8abd13c8529161b904cb3 /basctl | |
parent | 191dda3eca5518aa866ddada48bc8465c8aba1ba (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.cxx | 2 |
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 |