summaryrefslogtreecommitdiff
path: root/cui/source/options/fontsubs.cxx
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 /cui/source/options/fontsubs.cxx
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 'cui/source/options/fontsubs.cxx')
-rw-r--r--cui/source/options/fontsubs.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx
index ce5dd9668c30..228632262dfa 100644
--- a/cui/source/options/fontsubs.cxx
+++ b/cui/source/options/fontsubs.cxx
@@ -435,11 +435,11 @@ void SvxFontSubstCheckListBox::SetTabs()
SvSimpleTable::SetTabs();
SvLBoxTabFlags nAdjust = SvLBoxTabFlags::ADJUST_RIGHT|SvLBoxTabFlags::ADJUST_LEFT|SvLBoxTabFlags::ADJUST_CENTER|SvLBoxTabFlags::ADJUST_NUMERIC|SvLBoxTabFlags::FORCE;
- SvLBoxTab* pTab = aTabs[1];
+ SvLBoxTab* pTab = aTabs[1].get();
pTab->nFlags &= ~nAdjust;
pTab->nFlags |= SvLBoxTabFlags::PUSHABLE|SvLBoxTabFlags::ADJUST_CENTER|SvLBoxTabFlags::FORCE;
- pTab = aTabs[2];
+ pTab = aTabs[2].get();
pTab->nFlags &= ~nAdjust;
pTab->nFlags |= SvLBoxTabFlags::PUSHABLE|SvLBoxTabFlags::ADJUST_CENTER|SvLBoxTabFlags::FORCE;
}