cid#1519048 silence Unchecked return value

Change-Id: Ia4763684d84b671e4fb2523b6d5bc222fb5e71e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145540
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara 2023-01-15 20:17:55 +00:00
parent b03cc1dd65
commit be3b99f12f

View File

@ -324,7 +324,7 @@ void MSWordStyles::BuildStylesTable()
static OUString StripWWSuffix(const OUString& s)
{
OUString ret = s;
ret.endsWith(" (WW)", &ret);
(void)ret.endsWith(" (WW)", &ret);
return ret;
}