summaryrefslogtreecommitdiff
path: root/include/editeng/unotext.hxx
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 /include/editeng/unotext.hxx
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 'include/editeng/unotext.hxx')
-rw-r--r--include/editeng/unotext.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx
index 07b1171e59f9..0b4a2bf445f9 100644
--- a/include/editeng/unotext.hxx
+++ b/include/editeng/unotext.hxx
@@ -333,7 +333,7 @@ public:
/// @throws css::uno::RuntimeException
static bool GetPropertyValueHelper( SfxItemSet const & rSet, const SfxItemPropertySimpleEntry* pMap, css::uno::Any& aAny, const ESelection* pSelection = nullptr, SvxEditSource* pEditSource = nullptr );
- void attachField( const SvxFieldData* pData ) throw();
+ void attachField( std::unique_ptr<SvxFieldData> pData ) throw();
UNO3_GETIMPLEMENTATION_DECL( SvxUnoTextRangeBase )