summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-28 11:53:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-04 08:37:05 +0200
commita5e0c725ef57c7489458195afa143d0197c79aa5 (patch)
treec775b23c2936c2eb2e695769df8052b1d154f0d4 /include/svx
parent620315e0cb230b6e6922920c6e0e7bb25386cce6 (diff)
loplugin:useuniqueptr in SvxStyleToolBoxControl
Change-Id: Ia4f7c1bd1b8e411013d4d8c084e2d5342bdbfbfb Reviewed-on: https://gerrit.libreoffice.org/55220 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/tbcontrl.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/tbcontrl.hxx b/include/svx/tbcontrl.hxx
index 1f5079f69a22..bf089f87153a 100644
--- a/include/svx/tbcontrl.hxx
+++ b/include/svx/tbcontrl.hxx
@@ -190,7 +190,7 @@ private:
SfxStyleSheetBasePool* pStyleSheetPool;
SfxStyleControllerItem_Impl* pBoundItems[MAX_FAMILIES];
css::uno::Reference<css::lang::XComponent> m_xBoundItems[MAX_FAMILIES];
- SfxTemplateItem* pFamilyState[MAX_FAMILIES];
+ std::unique_ptr<SfxTemplateItem> pFamilyState[MAX_FAMILIES];
sal_uInt16 nActFamily; // Id in the ToolBox = Position - 1
SVX_DLLPRIVATE void Update();