summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/instable.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-26 10:18:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-26 15:15:51 +0200
commit90da191bc937eedd2a7fda4ac41fbe6a53356842 (patch)
tree012c877242e81c7f2ef5bb8ac3f2b2e1901e2201 /sw/source/uibase/inc/instable.hxx
parentc8ec727f12bf9a43f22983a2c7ff1189461cc250 (diff)
fix leak in SwInsTableDlg
Change-Id: I1d4b4f5098eeec7b0042f3ffd457566ecb3e31de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116188 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc/instable.hxx')
-rw-r--r--sw/source/uibase/inc/instable.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/instable.hxx b/sw/source/uibase/inc/instable.hxx
index e802503c3fb2..593d3668cd31 100644
--- a/sw/source/uibase/inc/instable.hxx
+++ b/sw/source/uibase/inc/instable.hxx
@@ -30,13 +30,14 @@
#include <view.hxx>
#include <tblafmt.hxx>
#include <itabenum.hxx>
+#include <memory>
class SwInsTableDlg : public SfxDialogController
{
TextFilter m_aTextFilter;
SwWrtShell* pShell;
- SwTableAutoFormatTable* pTableTable;
+ std::unique_ptr<SwTableAutoFormatTable> m_xTableTable;
SwTableAutoFormat* pTAutoFormat;
sal_uInt8 lbIndex;