From d437650712ff05475e1f3e8b2b4dd8fc47b1d8aa Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 19 May 2018 21:32:37 +0100 Subject: coverity#1435680 silence Unchecked return value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie7e7f234d32a42ec4747f20172e92c6edc637faf Reviewed-on: https://gerrit.libreoffice.org/54587 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- editeng/source/misc/svxacorr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editeng') diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 70daa82e3a88..556f60b9c426 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -2649,7 +2649,7 @@ bool SvxAutocorrWordList::Insert(std::unique_ptr pWord) const void SvxAutocorrWordList::LoadEntry(const OUString& sWrong, const OUString& sRight, bool bOnlyTxt) { std::unique_ptr pNew(new SvxAutocorrWord( sWrong, sRight, bOnlyTxt )); - Insert( std::move(pNew) ); + (void)Insert(std::move(pNew)); } bool SvxAutocorrWordList::empty() const -- cgit