summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/sfx2/dispatch.hxx2
-rw-r--r--include/svl/intitem.hxx2
-rw-r--r--include/svl/poolitem.hxx2
-rw-r--r--include/svx/xgrad.hxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx
index 231d5eee1483..ee46d5c89909 100644
--- a/include/sfx2/dispatch.hxx
+++ b/include/sfx2/dispatch.hxx
@@ -29,7 +29,7 @@
#include <o3tl/typed_flags_set.hxx>
#include <o3tl/span.hxx>
-#include <boost/property_tree/ptree.hpp>
+#include <boost/property_tree/ptree_fwd.hpp>
#include <vcl/menu.hxx>
#include <initializer_list>
diff --git a/include/svl/intitem.hxx b/include/svl/intitem.hxx
index c43add2013d7..5bf9785cbf43 100644
--- a/include/svl/intitem.hxx
+++ b/include/svl/intitem.hxx
@@ -22,7 +22,7 @@
#include <svl/svldllapi.h>
#include <svl/cintitem.hxx>
-#include <boost/property_tree/json_parser.hpp>
+#include <boost/property_tree/ptree_fwd.hpp>
class SVL_DLLPUBLIC SfxByteItem: public CntByteItem
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index dd74806464cd..d3b95e0cf9f5 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -29,7 +29,7 @@
#include <svl/svldllapi.h>
#include <svl/typedwhich.hxx>
#include <tools/mapunit.hxx>
-#include <boost/property_tree/json_parser.hpp>
+#include <boost/property_tree/ptree_fwd.hpp>
class IntlWrapper;
diff --git a/include/svx/xgrad.hxx b/include/svx/xgrad.hxx
index 268b0e06253b..3c9b2b4572a4 100644
--- a/include/svx/xgrad.hxx
+++ b/include/svx/xgrad.hxx
@@ -23,7 +23,7 @@
#include <tools/color.hxx>
#include <svx/svxdllapi.h>
#include <com/sun/star/awt/GradientStyle.hpp>
-#include <boost/property_tree/json_parser.hpp>
+#include <boost/property_tree/ptree_fwd.hpp>
class Gradient;