summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-08-01 08:40:10 +0200
committerTomaž Vajngerl <quikee@gmail.com>2020-08-10 09:35:19 +0200
commitcf6388b6a5f3e3baa54ed8b02020e9a25487b32b (patch)
tree1aa53d8d327d8af238d2528038223e1c4f8f51a8 /include
parent347e0d5336ccd881356c89ecc5d8186dd9b773ad (diff)
add extractAsOString to JsonWriter
Change-Id: I761fcf885a4965f88107f84b839108960805a1b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99909 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/tools/json_writer.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tools/json_writer.hxx b/include/tools/json_writer.hxx
index 34930584730d..588577d41303 100644
--- a/include/tools/json_writer.hxx
+++ b/include/tools/json_writer.hxx
@@ -47,6 +47,7 @@ public:
/** Hands ownership of the the underlying storage buffer to the caller,
* after this no more document modifications may be written. */
char* extractData();
+ OString extractAsOString();
private:
void endNode();