summaryrefslogtreecommitdiffstats
path: root/include/editeng/unoedprx.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-11 11:19:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-12 13:04:37 +0200
commit61dd9cafab20af893204deaca81ef26c1e7f7bb0 (patch)
tree295d290223a484138c2bea2f7e000e274815794a /include/editeng/unoedprx.hxx
parentmake SvLBoxItem::Clone return a std::unique_ptr (diff)
downloadcore-61dd9cafab20af893204deaca81ef26c1e7f7bb0.tar.gz
core-61dd9cafab20af893204deaca81ef26c1e7f7bb0.zip
make SvxEditSource::Clone return std::unique_ptr
Change-Id: If0d93024a642cc80a2a84d0c15525af1c0596546 Reviewed-on: https://gerrit.libreoffice.org/52715 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng/unoedprx.hxx')
-rw-r--r--include/editeng/unoedprx.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/unoedprx.hxx b/include/editeng/unoedprx.hxx
index 559c0390294e..f4f9cd66c0a5 100644
--- a/include/editeng/unoedprx.hxx
+++ b/include/editeng/unoedprx.hxx
@@ -142,7 +142,7 @@ public:
SvxEditSourceAdapter();
virtual ~SvxEditSourceAdapter() override;
- virtual SvxEditSource* Clone() const override;
+ virtual std::unique_ptr<SvxEditSource> Clone() const override;
virtual SvxTextForwarder* GetTextForwarder() override;
SvxAccessibleTextAdapter* GetTextForwarderAdapter(); // covariant return types don't work on MSVC
virtual SvxViewForwarder* GetViewForwarder() override;