hwpfilter/source/hwpeq.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit baf36dc7caa10365f3dda87bc2dd6e85e0333e98
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Wed Nov 29 18:02:22 2023 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Thu Nov 30 09:53:24 2023 +0100

    Extended loplugin:ostr: hwpfilter
    
    Change-Id: I1cd5359c192897d3d497eec977de10cedcc8f7b2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160120
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <[email protected]>

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

Reply via email to