summaryrefslogtreecommitdiffstats
path: root/kit
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2024-04-18 19:47:57 +0100
committerMichael Meeks <michael.meeks@collabora.com>2024-04-25 09:06:13 +0200
commit1b6af5e28d50c3a1152981537a385dfbb9a049a9 (patch)
treef5a5e1778687ab658f759b24ac1f8d4c63e77ad9 /kit
parentCypress: Remove beforeAll and rewrite document loading helpers (diff)
downloadonline-1b6af5e28d50c3a1152981537a385dfbb9a049a9.tar.gz
online-1b6af5e28d50c3a1152981537a385dfbb9a049a9.zip
killpoco: remove lots of redundant JSON includes.
Signed-off-by: Michael Meeks <michael.meeks@collabora.com> Change-Id: I976c5b8d6763cbbf0ee5cadfa2f7335ec719fe85
Diffstat (limited to 'kit')
-rw-r--r--kit/ChildSession.cpp2
-rw-r--r--kit/Kit.cpp3
2 files changed, 1 insertions, 4 deletions
diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index d0dc126d2e..51b0b2214c 100644
--- a/kit/ChildSession.cpp
+++ b/kit/ChildSession.cpp
@@ -24,8 +24,6 @@
#define LOK_USE_UNSTABLE_API
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
-#include <Poco/JSON/Object.h>
-#include <Poco/JSON/Parser.h>
#include <Poco/StreamCopier.h>
#include <Poco/URI.h>
#include <Poco/BinaryReader.h>
diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index 841f1dacaf..dfb15076d8 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -57,8 +57,6 @@
#include <Poco/File.h>
#include <Poco/Exception.h>
-#include <Poco/JSON/Object.h>
-#include <Poco/JSON/Parser.h>
#include <Poco/URI.h>
#include "ChildSession.hpp"
@@ -76,6 +74,7 @@
#include <Unit.hpp>
#include <UserMessages.hpp>
#include <Util.hpp>
+#include <JsonUtil.hpp>
#include "Watermark.hpp"
#include "RenderTiles.hpp"
#include "KitWebSocket.hpp"