summaryrefslogtreecommitdiff
path: root/oox/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-07 08:53:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-07 10:57:16 +0200
commitfe5afeda8c0a99bc97e1b2009b554d3a2ef4da70 (patch)
tree2cd06dd8c057e43626bc7b55d12341075ebed9ab /oox/inc
parent48806ad275b0c4c8fa3eb1637684092266ec6a0d (diff)
ofz#9747 Indirect-leak
Change-Id: I1063fbe9f41833c70e28343dd8d2392acd579d6d Reviewed-on: https://gerrit.libreoffice.org/58665 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox/inc')
-rw-r--r--oox/inc/drawingml/table/tableproperties.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/inc/drawingml/table/tableproperties.hxx b/oox/inc/drawingml/table/tableproperties.hxx
index 0cd500279974..af6671a81f23 100644
--- a/oox/inc/drawingml/table/tableproperties.hxx
+++ b/oox/inc/drawingml/table/tableproperties.hxx
@@ -61,7 +61,7 @@ public:
private:
- const TableStyle& getUsedTableStyle(const ::oox::core::XmlFilterBase& rFilterBase, TableStyle*& rTableStyleToDelete);
+ const TableStyle& getUsedTableStyle(const ::oox::core::XmlFilterBase& rFilterBase, std::unique_ptr<TableStyle>& rTableStyleToDelete);
OUString maStyleId; // either StyleId is available
std::shared_ptr< TableStyle > mpTableStyle; // or the complete TableStyle