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; }