office-gobmx/sw/source
Tor Lillqvist fde2629fa5 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>
2021-01-15 09:09:44 +01:00
..
core
filter tdf#138544 sw LoadUserSettings: default EmptyDbFieldHidesPara 2021-01-14 20:23:55 +01:00
ui Rename m_xClose->mxCancel + CloseHdl_Impl->CancelHdl_Impl (sw/mailmerge) 2021-01-14 21:13:59 +01:00
uibase Fix errors in produced JSON introduced with the switch to JsonWriter 2021-01-15 09:09:44 +01:00