diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-11-19 20:40:43 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-11-20 07:26:24 +0100 |
commit | 042a87dbd1172ea81b7d2df1f890684687e25f56 (patch) | |
tree | 9b12ac7adb8bb0c12ea5994ce3f2a4b8e4888076 /linguistic | |
parent | f94987039b0b08db878b1c444c28b302d6723fac (diff) |
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>
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/qa/restprotocol.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |