Extended loplugin:ostr: linguistic

Change-Id: I74b95a853a142da3e2df5b974a13d991f13d28eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159694
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2023-11-19 20:40:43 +01:00
parent f94987039b
commit 042a87dbd1

View file

@ -83,7 +83,7 @@ public:
"{\"check-positions\":[{\"offset\":15,\"length\":6,\"errorcode\":4711,\"type\":" "{\"check-positions\":[{\"offset\":15,\"length\":6,\"errorcode\":4711,\"type\":"
"\"orth\"," "\"orth\","
"\"severity\":1,\"proposals\":[\"Entwurf\",\"Entw\u00fcrfe\"]}," "\"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.write(aResponse.getStr(), aResponse.getLength());
m_aStreamSocket.close(); m_aStreamSocket.close();
@ -93,7 +93,7 @@ public:
{ {
OString aResponse("HTTP/1.1 404 Not Found\r\n" OString aResponse("HTTP/1.1 404 Not Found\r\n"
"Connection: Closed\r\n" "Connection: Closed\r\n"
"\r\n"); "\r\n"_ostr);
m_aStreamSocket.write(aResponse.getStr(), aResponse.getLength()); m_aStreamSocket.write(aResponse.getStr(), aResponse.getLength());
m_aStreamSocket.close(); m_aStreamSocket.close();