summaryrefslogtreecommitdiff
path: root/include/editeng/svxacorr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-09 14:53:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-18 13:13:41 +0200
commit516d593ce1593ad47712b762dfa67a8063a18929 (patch)
treea1c9c22142765ad6ba9278b6fdc316cd6d9f9480 /include/editeng/svxacorr.hxx
parent9fa32e5dce345dea17129587c401c03520fb398b (diff)
loplugin:useuniqueptr in SvxAutoCorrectLanguageLists
Change-Id: Ie433a336f9cd5133aefbe4ef88d214b5f5c63a0a Reviewed-on: https://gerrit.libreoffice.org/54182 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng/svxacorr.hxx')
-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;