diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-01-14 23:50:39 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2021-01-15 09:09:44 +0100 |
commit | fde2629fa5795dffde0504758f990592d294c5ff (patch) | |
tree | f8b83bd0b0cb6a71f6d63ac3a24dc300e2f47b29 /editeng | |
parent | 5aee16cf09f9d4ba50feaf804b2a7a649af276bc (diff) |
Fix errors in produced JSON introduced with the switch to JsonWriter
GetRedlineAuthorInfo() should produce a JSON array and not an object
with empty strings as keys, which is incorrect JSON. The code in
Collabora Online expects an array, see Document::getViewColors() in
kit/Kit.cpp.
Producing the wrong kind of data leads to Poco throwing an exception:
Assertion violation: !_key.empty() [in file "src/ParseHandler.cpp", line 64]
Also SwXTextDocument::getPostIts() should produce a JSON array.
Change-Id: I1ab0653ca1eaa3c466d31b1f068ba5937a04e43e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109316
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'editeng')
0 files changed, 0 insertions, 0 deletions