From be3b99f12fa145f26b5ad4821b47d42776dae4c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sun, 15 Jan 2023 20:17:55 +0000 Subject: [PATCH] cid#1519048 silence Unchecked return value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia4763684d84b671e4fb2523b6d5bc222fb5e71e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145540 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- sw/source/filter/ww8/wrtw8sty.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx index 21d11894f2d5..8f127c918781 100644 --- a/sw/source/filter/ww8/wrtw8sty.cxx +++ b/sw/source/filter/ww8/wrtw8sty.cxx @@ -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; }