summaryrefslogtreecommitdiff
path: root/editeng/source/items/svdfield.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-11 10:35:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-11 13:28:35 +0200
commit1c0e591accda7669bec9ccfc23977ce3f7386930 (patch)
tree9d7ae6738b9bbbe3790d6803b5b927f3cdade9ab /editeng/source/items/svdfield.cxx
parent56e0f1fcd43e0d4ab8c7a678cbbed1ea2c612868 (diff)
SvxFieldData wants to be held by tools::SvRef
Change-Id: If4f098341ed4f0b47a755a4722f0eace56235502 Reviewed-on: https://gerrit.libreoffice.org/52713 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/items/svdfield.cxx')
-rw-r--r--editeng/source/items/svdfield.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/svdfield.cxx b/editeng/source/items/svdfield.cxx
index 9ff72de11fdd..e448126b5d39 100644
--- a/editeng/source/items/svdfield.cxx
+++ b/editeng/source/items/svdfield.cxx
@@ -26,7 +26,7 @@ SdrMeasureField::~SdrMeasureField()
{
}
-SvxFieldData* SdrMeasureField::Clone() const
+tools::SvRef<SvxFieldData> SdrMeasureField::Clone() const
{
return new SdrMeasureField(*this);
}