summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-03-11 13:27:23 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-03-11 18:08:15 +0100
commit3b312ca78533459e529d01e0af90078af4f294eb (patch)
tree11e65cbfd74bf7631d396a8ba1e738e945afbca8 /include
parent8192ed8c0e0e474ef631f7012577fb2821708b52 (diff)
Document Colors do not show any color in the Palette
same is true for "Theme Colors", a problem since: commit 4ccc2f0e3f45c9d78f74b1848851bedf71f7382d Date: Fri Mar 1 22:11:14 2024 +0200 cool#8327 use tools::JsonWriter for theme colors Change-Id: Ibaab5df197bd8005037e066181e8a50bdda5ceda Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164658 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164664 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/tools/json_writer.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tools/json_writer.hxx b/include/tools/json_writer.hxx
index 8bb8d192d2ff..10a5a6e88681 100644
--- a/include/tools/json_writer.hxx
+++ b/include/tools/json_writer.hxx
@@ -47,6 +47,7 @@ public:
[[nodiscard]] ScopedJsonWriterNode startNode(std::string_view);
[[nodiscard]] ScopedJsonWriterArray startArray(std::string_view);
+ [[nodiscard]] ScopedJsonWriterArray startAnonArray();
[[nodiscard]] ScopedJsonWriterStruct startStruct();
void put(std::u16string_view pPropName, const OUString& rPropValue);
@@ -83,6 +84,7 @@ public:
bool isDataEquals(std::string_view) const;
private:
+ void startAnonBlock(const char cType);
void endNode();
void endArray();
void endStruct();