summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-19 21:32:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-20 21:16:48 +0200
commitd437650712ff05475e1f3e8b2b4dd8fc47b1d8aa (patch)
tree2933c1f23c3f5b638d0cee6e8ff9481a338b8b58 /editeng
parent89e54a995e19e1be46e666800a9b99a9cd1b3fd0 (diff)
coverity#1435680 silence Unchecked return value
Change-Id: Ie7e7f234d32a42ec4747f20172e92c6edc637faf Reviewed-on: https://gerrit.libreoffice.org/54587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/misc/svxacorr.cxx2
1 files changed, 1 insertions, 1 deletions
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<SvxAutocorrWord> pWord) const
void SvxAutocorrWordList::LoadEntry(const OUString& sWrong, const OUString& sRight, bool bOnlyTxt)
{
std::unique_ptr<SvxAutocorrWord> pNew(new SvxAutocorrWord( sWrong, sRight, bOnlyTxt ));
- Insert( std::move(pNew) );
+ (void)Insert(std::move(pNew));
}
bool SvxAutocorrWordList::empty() const