summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxacorr.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index 8d4b81fb1c9b..336a2c23b95f 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -154,8 +154,8 @@ public:
// free any objects still in the set
~SvxAutocorrWordList();
void DeleteAndDestroyAll();
- bool Insert(SvxAutocorrWord *pWord) const;
- SvxAutocorrWord* FindAndRemove(SvxAutocorrWord *pWord);
+ bool Insert(std::unique_ptr<SvxAutocorrWord> pWord) const;
+ std::unique_ptr<SvxAutocorrWord> FindAndRemove(SvxAutocorrWord *pWord);
void LoadEntry(const OUString& sWrong, const OUString& sRight, bool bOnlyTxt);
bool empty() const;