summaryrefslogtreecommitdiff
path: root/cui/source/inc/cuitabline.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-26 09:58:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-26 13:17:51 +0200
commit62946de9671d718d4033cd2662107020e65368b3 (patch)
treee1ae778d14330c11e8cc507a3876924995f2a19e /cui/source/inc/cuitabline.hxx
parentd86889978d7caa4ac82eb4ede226c7f2561c8607 (diff)
fix leak in SvxLineTabDialog
Change-Id: I4cbf0990fcc8db63f1160f1997d425c5681c47c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116150 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/inc/cuitabline.hxx')
-rw-r--r--cui/source/inc/cuitabline.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx
index 1368425c87ff..db74b0f65970 100644
--- a/cui/source/inc/cuitabline.hxx
+++ b/cui/source/inc/cuitabline.hxx
@@ -19,6 +19,7 @@
#pragma once
+#include <memory>
#include <vector>
#include <editeng/brushitem.hxx>
#include <sfx2/tabdlg.hxx>
@@ -97,7 +98,7 @@ private:
Graphic m_aAutoSymbolGraphic;
tools::Long m_nSymbolType;
/// attributes for the shown symbols; only necessary if not equal to line properties
- SfxItemSet* m_pSymbolAttr;
+ std::unique_ptr<SfxItemSet> m_xSymbolAttr;
std::vector<OUString> m_aGrfNames;
std::vector< std::unique_ptr<SvxBmpItemInfo> >