summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-11-29 16:48:21 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-02 17:13:44 +0100
commit807e075a6184f7afc01a127abe77391238ab4163 (patch)
tree59a89ab552edd97fe9107b78adb26aef23f02fa8 /svx
parenteb80ba799667973c3872904b3407a17ca3f6564a (diff)
tdf#42949 Replace property_tre/ptree.hpp with fw declaration header
Similarly to commit fb1b461208e7a2760fa1c018db08606a9b3e435d replace new instances of boost/property_tree/ptree.hpp with forward declaration only header, as suggested by IWYU This reduces includebloat from 28.5G to 22.6G and cold clean build time from real 68m54,192s user 947m28,508s to real 62m50,689s user 861m33,131s on my machine. Change-Id: I5530f1b4b1a46d9159c752ad5af9a408215baf40 Reviewed-on: https://gerrit.libreoffice.org/84175 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/itemwin.cxx2
-rw-r--r--svx/source/xoutdev/xattr.cxx1
2 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx
index 66314e592f21..b986842765a4 100644
--- a/svx/source/tbxctrls/itemwin.cxx
+++ b/svx/source/tbxctrls/itemwin.cxx
@@ -48,6 +48,8 @@
#include <svtools/colorcfg.hxx>
#include <svtools/unitconv.hxx>
+#include <boost/property_tree/json_parser.hpp>
+
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::frame;
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index 404d2eb9b359..2c50c3e6f263 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -91,6 +91,7 @@
#include <svx/svxids.hrc>
#include <string>
+#include <boost/property_tree/json_parser.hpp>
#include <libxml/xmlwriter.h>
using namespace ::com::sun::star;