summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/condformatbuffer.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-25 09:31:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-26 09:48:14 +0000
commit71c60f8f8956414034d105fe4cc64c12d3a5d2e3 (patch)
treef202bee77a10783e635f2aad352e5c200f5c6f21 /sc/source/filter/inc/condformatbuffer.hxx
parentfaace681fc6575dd8a16b0c8fead3ea7f0b93fe3 (diff)
coverity#982279 Resource leak in object
Change-Id: I8a616dee5795c3614baa69840b3a8808ef89b650
Diffstat (limited to 'sc/source/filter/inc/condformatbuffer.hxx')
-rw-r--r--sc/source/filter/inc/condformatbuffer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/inc/condformatbuffer.hxx b/sc/source/filter/inc/condformatbuffer.hxx
index 47d90d487287..f983f7e1f4c1 100644
--- a/sc/source/filter/inc/condformatbuffer.hxx
+++ b/sc/source/filter/inc/condformatbuffer.hxx
@@ -133,7 +133,7 @@ public:
private:
std::vector< ColorScaleRuleModelEntry > maEntries;
- ScIconSetFormatData* mpFormatData;
+ std::unique_ptr<ScIconSetFormatData> mxFormatData;
OUString maIconSetType;
};