From 042a87dbd1172ea81b7d2df1f890684687e25f56 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 19 Nov 2023 20:40:43 +0100 Subject: Extended loplugin:ostr: linguistic Change-Id: I74b95a853a142da3e2df5b974a13d991f13d28eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159694 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- linguistic/qa/restprotocol.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linguistic') diff --git a/linguistic/qa/restprotocol.cxx b/linguistic/qa/restprotocol.cxx index c189228e6635..d5783d0a90a3 100644 --- a/linguistic/qa/restprotocol.cxx +++ b/linguistic/qa/restprotocol.cxx @@ -83,7 +83,7 @@ public: "{\"check-positions\":[{\"offset\":15,\"length\":6,\"errorcode\":4711,\"type\":" "\"orth\"," "\"severity\":1,\"proposals\":[\"Entwurf\",\"Entw\u00fcrfe\"]}," - "{\"offset\":22,\"length\":3,\"errorcode\":8221,\"type\":\"orth\",\"severity\":1}]}"); + "{\"offset\":22,\"length\":3,\"errorcode\":8221,\"type\":\"orth\",\"severity\":1}]}"_ostr); m_aStreamSocket.write(aResponse.getStr(), aResponse.getLength()); m_aStreamSocket.close(); @@ -93,7 +93,7 @@ public: { OString aResponse("HTTP/1.1 404 Not Found\r\n" "Connection: Closed\r\n" - "\r\n"); + "\r\n"_ostr); m_aStreamSocket.write(aResponse.getStr(), aResponse.getLength()); m_aStreamSocket.close(); -- cgit