From fb1b461208e7a2760fa1c018db08606a9b3e435d Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Fri, 25 Oct 2019 12:17:34 +0200 Subject: tdf#42949 Fix IWYU warning in include/vcl/window.hxx The boost/property_tree/ptree.hpp added in commit 75b8db7fa7344a679d3c5dbdc8c5bd4228cdbc7c turns out to be rather expensive: it adds about 900 kB per compilation unit and window.hxx is included in about 2600 compilation units Replacing it with forward declaration header has reduced total includebloat from 26.1 Gb to about 22.7 Change-Id: I797608b54a62a5838c7a5d47355fb6bd736ad36c Reviewed-on: https://gerrit.libreoffice.org/81500 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- svtools/source/control/valueset.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'svtools') diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index 08721c25acde..46e1b78b2b05 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -36,6 +36,7 @@ #include "valueimp.hxx" #include +#include using namespace css::uno; using namespace css::lang; -- cgit v1.2.3