From baf36dc7caa10365f3dda87bc2dd6e85e0333e98 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 29 Nov 2023 18:02:22 +0100 Subject: [PATCH] Extended loplugin:ostr: hwpfilter Change-Id: I1cd5359c192897d3d497eec977de10cedcc8f7b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160120 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- hwpfilter/source/hwpeq.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwpfilter/source/hwpeq.cxx b/hwpfilter/source/hwpeq.cxx index 3b078c81eb21..36c407ca3e18 100644 --- a/hwpfilter/source/hwpeq.cxx +++ b/hwpfilter/source/hwpeq.cxx @@ -534,9 +534,9 @@ static int next_token(OString &white, OString &token, std::istream *strm) token = buf; } if( token == "sub" || token == "from" ) - token = "_"; + token = "_"_ostr; if( token == "sup" || token == "to" ) - token = "^"; + token = "^"_ostr; } else if( IS_BINARY(ch) ) { do