Kaydet (Commit) d4376507 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1435680 silence Unchecked return value

Change-Id: Ie7e7f234d32a42ec4747f20172e92c6edc637faf
Reviewed-on: https://gerrit.libreoffice.org/54587Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 89e54a99
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment