summaryrefslogtreecommitdiff
path: root/sw/inc/swabstdlg.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-27 10:01:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-28 07:39:31 +0100
commitb4a208d1d38fb1eb71070e24cb2d146558b214a2 (patch)
treeb7b9a1233a1b2e072046c8953e5ac720af3a5452 /sw/inc/swabstdlg.hxx
parentc95b13c1ad9e01462180feb996ef4efb764eb879 (diff)
return unique_ptr from FillAutoFormatOfIndex
Change-Id: If41981a2136ab1a9d06a1b7a3b044ade302ba1d4 Reviewed-on: https://gerrit.libreoffice.org/69795 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/swabstdlg.hxx')
-rw-r--r--sw/inc/swabstdlg.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx
index 647c5c903925..c92ab77686e9 100644
--- a/sw/inc/swabstdlg.hxx
+++ b/sw/inc/swabstdlg.hxx
@@ -297,7 +297,7 @@ class AbstractSwAutoFormatDlg : public VclAbstractDialog
protected:
virtual ~AbstractSwAutoFormatDlg() override = default;
public:
- virtual SwTableAutoFormat* FillAutoFormatOfIndex() const = 0;
+ virtual std::unique_ptr<SwTableAutoFormat> FillAutoFormatOfIndex() const = 0;
};
class AbstractSwFieldDlg : public SfxAbstractTabDialog