summaryrefslogtreecommitdiffstats
path: root/wsd
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-11-05 12:47:28 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-11-05 12:47:37 +0100
commita4e70f25074decb70bc48839345ddf0c14d1cfbf (patch)
treed6bee2b35bf414602ad1caf7953445b1e15f2cdd /wsd
parentcypress: NC: fix form field tests. (diff)
downloadonline-a4e70f25074decb70bc48839345ddf0c14d1cfbf.tar.gz
online-a4e70f25074decb70bc48839345ddf0c14d1cfbf.zip
wsd: fix typo: reserverd -> reserved
Signed-off-by: Miklos Vajna <vmiklos@collabora.com> Change-Id: I736c621723502deceb4f01b005b62c2dfd8c4e37
Diffstat (limited to 'wsd')
-rw-r--r--wsd/DocumentBroker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index b694f2608d..1c2e6bb2cb 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -1188,7 +1188,7 @@ void DocumentBroker::broadcastSaveResult(bool success, const std::string& result
const std::string resultstr = success ? "true" : "false";
// Some sane limit, otherwise we get problems transferring this to the client with large strings (can be a whole webpage)
std::string errorMsgFormatted = LOOLProtocol::getAbbreviatedMessage(errorMsg);
- // Replace reserverd characters
+ // Replace reserved characters
errorMsgFormatted = Poco::translate(errorMsgFormatted, "\"", "'");
broadcastMessage("commandresult: { \"command\": \"save\", \"success\": " + resultstr +
", \"result\": \"" + result + "\", \"errorMsg\": \"" + errorMsgFormatted + "\"}");