From c6e7a70d2afea8b9641c515bf40c1e4c97e54bf5 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sun, 3 Nov 2019 23:44:15 +0100 Subject: tdf#42949 Fix IWYU warning in include/svx/svdotable.hxx The boost/property_tree/json_parser.hpp added in commit 0285492a45e9cc19c26e14dcdf297bcc491da4d2 is somewhat expensive. Replacing it with forward declaration header - similar to commit fb1b461208e7a2760fa1c018db08606a9b3e435d shaves off about 80Mb of includebloat Change-Id: I5055834b691718eec2a5ebbfc4f1cffbdea96aae Reviewed-on: https://gerrit.libreoffice.org/81972 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- include/svx/svdotable.hxx | 2 +- svx/source/svdraw/svdmrkv.cxx | 2 ++ svx/source/table/svdotable.cxx | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx index 62d1cb4ad860..0dab80d0c0d7 100644 --- a/include/svx/svdotable.hxx +++ b/include/svx/svdotable.hxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include class SvStream; class SfxStyleSheet; diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx index a3fce9ec2821..6e357739727b 100644 --- a/svx/source/svdraw/svdmrkv.cxx +++ b/svx/source/svdraw/svdmrkv.cxx @@ -68,6 +68,8 @@ #include +#include + using namespace com::sun::star; // Migrate Marking of Objects, Points and GluePoints diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index c197b715bee6..98a093a65c1e 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -60,6 +60,7 @@ #include #include +#include using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Reference; -- cgit