summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2018-07-11 21:53:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-13 08:38:57 +0200
commitddef60b9c26b1d2990c6c49dbbda73e7831f21fb (patch)
tree011cbead2168b4620536d840a9ff983f20b1dcdd /sc/source/ui/unoobj
parent1a8435a23e84f3ceeee580eb9d4404a738d98888 (diff)
pass SvxFieldData around by std::unique_ptr
Change-Id: I9c826547d348000dd6c80e45d833e048caae0ed8 Reviewed-on: https://gerrit.libreoffice.org/57308 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/unoobj')
-rw-r--r--sc/source/ui/unoobj/fielduno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx
index 77856751701d..c75f351b9641 100644
--- a/sc/source/ui/unoobj/fielduno.cxx
+++ b/sc/source/ui/unoobj/fielduno.cxx
@@ -167,7 +167,7 @@ class ScUnoEditEngine : public ScEditEngineDefaulter
ScUnoCollectMode eMode;
sal_uInt16 nFieldCount;
sal_Int32 mnFieldType;
- tools::SvRef<SvxFieldData>
+ std::unique_ptr<SvxFieldData>
pFound; // local copy
sal_Int32 nFieldPar;
sal_Int32 nFieldPos;