diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-11 12:58:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-12 12:42:22 +0200 |
commit | e722564d40143fa029fe10d22a625539c795ee04 (patch) | |
tree | 5b4aab88bfa6d35917707d4d8ebe92e78a30c0e5 /include/svx/ctredlin.hxx | |
parent | 5dd762ddc1829a86e7b4e23076143bc01d6073ad (diff) |
make SvLBoxItem::Clone return a std::unique_ptr
and combine the Create/Clone methods into one
Change-Id: Ia982be6b50135b8d368d84070327689be6b3d890
Reviewed-on: https://gerrit.libreoffice.org/52745
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/ctredlin.hxx')
-rw-r--r-- | include/svx/ctredlin.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index 693c0ba1b506..8c25a1a272ac 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -104,7 +104,7 @@ public: virtual void Paint(const Point& rPos, SvTreeListBox& rOutDev, vcl::RenderContext& rRenderContext, const SvViewDataEntry* pView, const SvTreeListEntry& rEntry) override; - SvLBoxItem* Create() const override; + virtual std::unique_ptr<SvLBoxItem> Clone(SvLBoxItem const * pSource) const override; }; class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxRedlinTable : public SvSimpleTable |