From 700936e43df0ac06accac1b3a8218e221e46455c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 14 Feb 2020 21:45:40 +0000 Subject: [PATCH] use fwd decls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I06a4049d84d3ef755b713c045f686361782bdfc1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88807 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- basctl/inc/pch/precompiled_basctl.hxx | 12 +----------- include/svtools/brwbox.hxx | 2 +- include/svtools/scrwin.hxx | 4 +++- sfx2/inc/pch/precompiled_sfx.hxx | 17 ++--------------- starmath/source/edit.cxx | 1 + svtools/source/brwbox/brwbox1.cxx | 1 + svtools/source/brwbox/brwbox2.cxx | 1 + svtools/source/brwbox/datwin.cxx | 1 + svtools/source/brwbox/datwin.hxx | 3 +-- svtools/source/control/scrwin.cxx | 4 ++-- sw/inc/pch/precompiled_swui.hxx | 3 +-- 11 files changed, 15 insertions(+), 34 deletions(-) diff --git a/basctl/inc/pch/precompiled_basctl.hxx b/basctl/inc/pch/precompiled_basctl.hxx index ecd91070e149..92dc157242a9 100644 --- a/basctl/inc/pch/precompiled_basctl.hxx +++ b/basctl/inc/pch/precompiled_basctl.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2020-02-13 21:29:21 using: + Generated on 2020-02-14 21:46:02 using: ./bin/update_pch basctl basctl --cutoff=3 --exclude:system --include:module --exclude:local If after updating build fails, use the following command to locate conflicting headers: @@ -114,15 +114,12 @@ #include #include #include -#include #include #include #include -#include #include #include #include -#include #include #include #include @@ -136,7 +133,6 @@ #include #include #include -#include #include #include #include @@ -160,7 +156,6 @@ #include #include #include -#include #include #include #include @@ -396,7 +391,6 @@ #include #include #include -#include #include #include #include @@ -426,12 +420,8 @@ #include #include #include -#include #include -#include #include -#include -#include #include #include #include diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx index af44c7613b8a..d8533f923dcd 100644 --- a/include/svtools/brwbox.hxx +++ b/include/svtools/brwbox.hxx @@ -20,7 +20,6 @@ #define INCLUDED_SVTOOLS_BRWBOX_HXX #include -#include #include #include #include @@ -40,6 +39,7 @@ class BrowserColumn; class BrowserDataWin; class BrowserHeader; +class ScrollBar; namespace svt { class BrowseBoxImpl; diff --git a/include/svtools/scrwin.hxx b/include/svtools/scrwin.hxx index f63ba409c58d..c232ae4879b8 100644 --- a/include/svtools/scrwin.hxx +++ b/include/svtools/scrwin.hxx @@ -21,10 +21,12 @@ #define INCLUDED_SVTOOLS_SCRWIN_HXX #include -#include +#include #include class DataChangedEvent; +class ScrollBar; +class ScrollBarBox; class SVT_DLLPUBLIC ScrollableWindow: public vcl::Window { diff --git a/sfx2/inc/pch/precompiled_sfx.hxx b/sfx2/inc/pch/precompiled_sfx.hxx index 306c66fdef39..7d492672cafd 100644 --- a/sfx2/inc/pch/precompiled_sfx.hxx +++ b/sfx2/inc/pch/precompiled_sfx.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2020-02-13 17:43:02 using: + Generated on 2020-02-16 15:22:47 using: ./bin/update_pch sfx2 sfx --cutoff=3 --exclude:system --exclude:module --exclude:local If after updating build fails, use the following command to locate conflicting headers: @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include @@ -93,11 +92,11 @@ #include #include #include -#include #include #include #include #include +#include #include #include #include @@ -437,36 +436,24 @@ #include #include #include -#include #include -#include -#include -#include -#include #include -#include -#include #include #include #include #include #include #include -#include #include #include #include #include #include #include -#include #include #include -#include #include -#include #include -#include #include #include #include diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index 515b924ee1ef..ae7c4aca99a8 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -22,6 +22,7 @@ #include #include +#include #include #include diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx index e9be5c9bc4a3..dcd34afe000b 100644 --- a/svtools/source/brwbox/brwbox1.cxx +++ b/svtools/source/brwbox/brwbox1.cxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx index 877277701e14..afbc767a3828 100644 --- a/svtools/source/brwbox/brwbox2.cxx +++ b/svtools/source/brwbox/brwbox2.cxx @@ -27,6 +27,7 @@ #include #include #include +#include #include #include diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx index c40b9142892c..074ce53aec4f 100644 --- a/svtools/source/brwbox/datwin.cxx +++ b/svtools/source/brwbox/datwin.cxx @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx index ade56223aa03..d0fa8ff31db1 100644 --- a/svtools/source/brwbox/datwin.hxx +++ b/svtools/source/brwbox/datwin.hxx @@ -21,14 +21,13 @@ #include #include +#include #include #include #include - #define MIN_COLUMNWIDTH 2 - class ButtonFrame { tools::Rectangle const aRect; diff --git a/svtools/source/control/scrwin.cxx b/svtools/source/control/scrwin.cxx index d503ff5928fc..65754a1db569 100644 --- a/svtools/source/control/scrwin.cxx +++ b/svtools/source/control/scrwin.cxx @@ -18,10 +18,10 @@ */ #include -#include #include #include - +#include +#include ScrollableWindow::ScrollableWindow( vcl::Window* pParent ) : Window( pParent, WB_CLIPCHILDREN ), diff --git a/sw/inc/pch/precompiled_swui.hxx b/sw/inc/pch/precompiled_swui.hxx index 806127d57a0e..9314d94b2ab7 100644 --- a/sw/inc/pch/precompiled_swui.hxx +++ b/sw/inc/pch/precompiled_swui.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2020-02-14 09:32:42 using: + Generated on 2020-02-14 21:46:46 using: ./bin/update_pch sw swui --cutoff=3 --exclude:system --include:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -149,7 +149,6 @@ #include #include #include -#include #include #include #include