use fwd decls

Change-Id: I06a4049d84d3ef755b713c045f686361782bdfc1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88807
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2020-02-14 21:45:40 +00:00
parent 76e14924ed
commit 700936e43d
11 changed files with 15 additions and 34 deletions

View File

@@ -13,7 +13,7 @@
manual changes will be rewritten by the next run of update_pch.sh (which presumably 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). 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 ./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: If after updating build fails, use the following command to locate conflicting headers:
@@ -114,15 +114,12 @@
#include <vcl/combobox.hxx> #include <vcl/combobox.hxx>
#include <vcl/commandevent.hxx> #include <vcl/commandevent.hxx>
#include <vcl/ctrl.hxx> #include <vcl/ctrl.hxx>
#include <vcl/customweld.hxx>
#include <vcl/devicecoordinate.hxx> #include <vcl/devicecoordinate.hxx>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/dndhelp.hxx> #include <vcl/dndhelp.hxx>
#include <vcl/dockwin.hxx>
#include <vcl/edit.hxx> #include <vcl/edit.hxx>
#include <vcl/errcode.hxx> #include <vcl/errcode.hxx>
#include <vcl/event.hxx> #include <vcl/event.hxx>
#include <vcl/fixed.hxx>
#include <vcl/floatwin.hxx> #include <vcl/floatwin.hxx>
#include <vcl/fntstyle.hxx> #include <vcl/fntstyle.hxx>
#include <vcl/font.hxx> #include <vcl/font.hxx>
@@ -136,7 +133,6 @@
#include <vcl/keycod.hxx> #include <vcl/keycod.hxx>
#include <vcl/keycodes.hxx> #include <vcl/keycodes.hxx>
#include <vcl/layout.hxx> #include <vcl/layout.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/mapmod.hxx> #include <vcl/mapmod.hxx>
#include <vcl/menu.hxx> #include <vcl/menu.hxx>
#include <vcl/metaactiontypes.hxx> #include <vcl/metaactiontypes.hxx>
@@ -160,7 +156,6 @@
#include <vcl/textfilter.hxx> #include <vcl/textfilter.hxx>
#include <vcl/textview.hxx> #include <vcl/textview.hxx>
#include <vcl/timer.hxx> #include <vcl/timer.hxx>
#include <vcl/toolbox.hxx>
#include <vcl/transfer.hxx> #include <vcl/transfer.hxx>
#include <vcl/treelist.hxx> #include <vcl/treelist.hxx>
#include <vcl/treelistentries.hxx> #include <vcl/treelistentries.hxx>
@@ -396,7 +391,6 @@
#include <sfx2/request.hxx> #include <sfx2/request.hxx>
#include <sfx2/shell.hxx> #include <sfx2/shell.hxx>
#include <sfx2/stbitem.hxx> #include <sfx2/stbitem.hxx>
#include <sfx2/tbxctrl.hxx>
#include <sfx2/viewfrm.hxx> #include <sfx2/viewfrm.hxx>
#include <sot/exchange.hxx> #include <sot/exchange.hxx>
#include <sot/formats.hxx> #include <sot/formats.hxx>
@@ -426,12 +420,8 @@
#include <svtools/optionsdrawinglayer.hxx> #include <svtools/optionsdrawinglayer.hxx>
#include <svtools/statusbarcontroller.hxx> #include <svtools/statusbarcontroller.hxx>
#include <svtools/svtdllapi.h> #include <svtools/svtdllapi.h>
#include <svtools/toolbarmenu.hxx>
#include <svtools/toolboxcontroller.hxx> #include <svtools/toolboxcontroller.hxx>
#include <svtools/valueset.hxx>
#include <svx/DiagramDataInterface.hxx> #include <svx/DiagramDataInterface.hxx>
#include <svx/Palette.hxx>
#include <svx/SvxColorValueSet.hxx>
#include <svx/XPropertyEntry.hxx> #include <svx/XPropertyEntry.hxx>
#include <svx/ipolypolygoneditorcontroller.hxx> #include <svx/ipolypolygoneditorcontroller.hxx>
#include <svx/itextprovider.hxx> #include <svx/itextprovider.hxx>

View File

@@ -20,7 +20,6 @@
#define INCLUDED_SVTOOLS_BRWBOX_HXX #define INCLUDED_SVTOOLS_BRWBOX_HXX
#include <svtools/svtdllapi.h> #include <svtools/svtdllapi.h>
#include <vcl/scrbar.hxx>
#include <vcl/status.hxx> #include <vcl/status.hxx>
#include <vcl/ctrl.hxx> #include <vcl/ctrl.hxx>
#include <vcl/vclptr.hxx> #include <vcl/vclptr.hxx>
@@ -40,6 +39,7 @@
class BrowserColumn; class BrowserColumn;
class BrowserDataWin; class BrowserDataWin;
class BrowserHeader; class BrowserHeader;
class ScrollBar;
namespace svt { namespace svt {
class BrowseBoxImpl; class BrowseBoxImpl;

View File

@@ -21,10 +21,12 @@
#define INCLUDED_SVTOOLS_SCRWIN_HXX #define INCLUDED_SVTOOLS_SCRWIN_HXX
#include <svtools/svtdllapi.h> #include <svtools/svtdllapi.h>
#include <vcl/scrbar.hxx> #include <vcl/window.hxx>
#include <vcl/vclptr.hxx> #include <vcl/vclptr.hxx>
class DataChangedEvent; class DataChangedEvent;
class ScrollBar;
class ScrollBarBox;
class SVT_DLLPUBLIC ScrollableWindow: public vcl::Window class SVT_DLLPUBLIC ScrollableWindow: public vcl::Window
{ {

View File

@@ -13,7 +13,7 @@
manual changes will be rewritten by the next run of update_pch.sh (which presumably 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). 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 ./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: If after updating build fails, use the following command to locate conflicting headers:
@@ -26,7 +26,6 @@
#include <cassert> #include <cassert>
#include <cstddef> #include <cstddef>
#include <cstring> #include <cstring>
#include <deque>
#include <functional> #include <functional>
#include <initializer_list> #include <initializer_list>
#include <map> #include <map>
@@ -93,11 +92,11 @@
#include <vcl/button.hxx> #include <vcl/button.hxx>
#include <vcl/commandevent.hxx> #include <vcl/commandevent.hxx>
#include <vcl/commandinfoprovider.hxx> #include <vcl/commandinfoprovider.hxx>
#include <vcl/customweld.hxx>
#include <vcl/dibtools.hxx> #include <vcl/dibtools.hxx>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/errcode.hxx> #include <vcl/errcode.hxx>
#include <vcl/event.hxx> #include <vcl/event.hxx>
#include <vcl/fixed.hxx>
#include <vcl/gdimtf.hxx> #include <vcl/gdimtf.hxx>
#include <vcl/graph.hxx> #include <vcl/graph.hxx>
#include <vcl/graphicfilter.hxx> #include <vcl/graphicfilter.hxx>
@@ -437,36 +436,24 @@
#include <sfx2/sfxresid.hxx> #include <sfx2/sfxresid.hxx>
#include <sfx2/sfxuno.hxx> #include <sfx2/sfxuno.hxx>
#include <sfx2/sidebar/Context.hxx> #include <sfx2/sidebar/Context.hxx>
#include <sidebar/ControllerFactory.hxx>
#include <sfx2/sidebar/Deck.hxx> #include <sfx2/sidebar/Deck.hxx>
#include <sidebar/DeckDescriptor.hxx>
#include <sidebar/DeckTitleBar.hxx>
#include <sidebar/DrawHelper.hxx>
#include <sidebar/Paint.hxx>
#include <sfx2/sidebar/Panel.hxx> #include <sfx2/sidebar/Panel.hxx>
#include <sidebar/PanelDescriptor.hxx>
#include <sidebar/PanelTitleBar.hxx>
#include <sfx2/sidebar/ResourceManager.hxx> #include <sfx2/sidebar/ResourceManager.hxx>
#include <sfx2/sidebar/SidebarChildWindow.hxx> #include <sfx2/sidebar/SidebarChildWindow.hxx>
#include <sfx2/sidebar/SidebarController.hxx> #include <sfx2/sidebar/SidebarController.hxx>
#include <sfx2/sidebar/SidebarDockingWindow.hxx> #include <sfx2/sidebar/SidebarDockingWindow.hxx>
#include <sfx2/sidebar/TabBar.hxx> #include <sfx2/sidebar/TabBar.hxx>
#include <sfx2/sidebar/Theme.hxx> #include <sfx2/sidebar/Theme.hxx>
#include <sidebar/TitleBar.hxx>
#include <sfx2/sidebar/Tools.hxx> #include <sfx2/sidebar/Tools.hxx>
#include <sfx2/signaturestate.hxx> #include <sfx2/signaturestate.hxx>
#include <sfx2/stbitem.hxx> #include <sfx2/stbitem.hxx>
#include <sfx2/styfitem.hxx> #include <sfx2/styfitem.hxx>
#include <sfx2/tabdlg.hxx> #include <sfx2/tabdlg.hxx>
#include <sfx2/tbxctrl.hxx> #include <sfx2/tbxctrl.hxx>
#include <templatecontaineritem.hxx>
#include <sfx2/templatedlg.hxx> #include <sfx2/templatedlg.hxx>
#include <sfx2/templatelocalview.hxx> #include <sfx2/templatelocalview.hxx>
#include <templateviewitem.hxx>
#include <sfx2/thumbnailview.hxx> #include <sfx2/thumbnailview.hxx>
#include <thumbnailviewitem.hxx>
#include <sfx2/tplpitem.hxx> #include <sfx2/tplpitem.hxx>
#include <unoctitm.hxx>
#include <sfx2/viewfac.hxx> #include <sfx2/viewfac.hxx>
#include <sfx2/viewfrm.hxx> #include <sfx2/viewfrm.hxx>
#include <sfx2/viewsh.hxx> #include <sfx2/viewsh.hxx>

View File

@@ -22,6 +22,7 @@
#include <vcl/commandevent.hxx> #include <vcl/commandevent.hxx>
#include <vcl/event.hxx> #include <vcl/event.hxx>
#include <vcl/scrbar.hxx>
#include <vcl/settings.hxx> #include <vcl/settings.hxx>
#include <editeng/editview.hxx> #include <editeng/editview.hxx>

View File

@@ -25,6 +25,7 @@
#include <tools/debug.hxx> #include <tools/debug.hxx>
#include <tools/fract.hxx> #include <tools/fract.hxx>
#include <sal/log.hxx> #include <sal/log.hxx>
#include <vcl/scrbar.hxx>
#include <algorithm> #include <algorithm>
#include <com/sun/star/accessibility/AccessibleTableModelChange.hpp> #include <com/sun/star/accessibility/AccessibleTableModelChange.hpp>

View File

@@ -27,6 +27,7 @@
#include <vcl/settings.hxx> #include <vcl/settings.hxx>
#include <vcl/commandevent.hxx> #include <vcl/commandevent.hxx>
#include <vcl/ptrstyle.hxx> #include <vcl/ptrstyle.hxx>
#include <vcl/scrbar.hxx>
#include <tools/multisel.hxx> #include <tools/multisel.hxx>
#include <tools/fract.hxx> #include <tools/fract.hxx>

View File

@@ -23,6 +23,7 @@
#include <vcl/commandevent.hxx> #include <vcl/commandevent.hxx>
#include <vcl/help.hxx> #include <vcl/help.hxx>
#include <vcl/settings.hxx> #include <vcl/settings.hxx>
#include <vcl/scrbar.hxx>
#include <vcl/ptrstyle.hxx> #include <vcl/ptrstyle.hxx>
#include <tools/debug.hxx> #include <tools/debug.hxx>
#include <tools/fract.hxx> #include <tools/fract.hxx>

View File

@@ -21,14 +21,13 @@
#include <svtools/brwbox.hxx> #include <svtools/brwbox.hxx>
#include <svtools/brwhead.hxx> #include <svtools/brwhead.hxx>
#include <vcl/scrbar.hxx>
#include <vcl/timer.hxx> #include <vcl/timer.hxx>
#include <vcl/transfer.hxx> #include <vcl/transfer.hxx>
#include <vector> #include <vector>
#define MIN_COLUMNWIDTH 2 #define MIN_COLUMNWIDTH 2
class ButtonFrame class ButtonFrame
{ {
tools::Rectangle const aRect; tools::Rectangle const aRect;

View File

@@ -18,10 +18,10 @@
*/ */
#include <svtools/scrwin.hxx> #include <svtools/scrwin.hxx>
#include <vcl/settings.hxx>
#include <vcl/commandevent.hxx> #include <vcl/commandevent.hxx>
#include <vcl/event.hxx> #include <vcl/event.hxx>
#include <vcl/settings.hxx>
#include <vcl/scrbar.hxx>
ScrollableWindow::ScrollableWindow( vcl::Window* pParent ) : ScrollableWindow::ScrollableWindow( vcl::Window* pParent ) :
Window( pParent, WB_CLIPCHILDREN ), Window( pParent, WB_CLIPCHILDREN ),

View File

@@ -13,7 +13,7 @@
manual changes will be rewritten by the next run of update_pch.sh (which presumably 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). 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 ./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: If after updating build fails, use the following command to locate conflicting headers:
@@ -149,7 +149,6 @@
#include <vcl/region.hxx> #include <vcl/region.hxx>
#include <vcl/salnativewidgets.hxx> #include <vcl/salnativewidgets.hxx>
#include <vcl/scopedbitmapaccess.hxx> #include <vcl/scopedbitmapaccess.hxx>
#include <vcl/scrbar.hxx>
#include <vcl/settings.hxx> #include <vcl/settings.hxx>
#include <vcl/status.hxx> #include <vcl/status.hxx>
#include <vcl/svapp.hxx> #include <vcl/svapp.hxx>