From a4c7ded1fd2a879e66760a8fc3846af538da4b9d Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Tue, 25 Dec 2012 15:18:26 +0100 Subject: Cleanup: #include Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- .../source/extended/AccessibleBrowseBoxTableCell.cxx | 1 - .../source/helper/characterattributeshelper.cxx | 1 + basctl/source/basicide/iderdll2.hxx | 1 - cppcanvas/source/mtfrenderer/pointaction.cxx | 2 +- cppcanvas/source/mtfrenderer/polypolyaction.cxx | 2 +- cppcanvas/source/mtfrenderer/textaction.hxx | 2 +- dbaccess/inc/ToolBoxHelper.hxx | 1 - .../source/deployment/gui/dp_gui_dependencydialog.cxx | 1 - editeng/inc/editeng/svxfont.hxx | 3 +++ editeng/source/items/svxfont.cxx | 1 + editeng/source/misc/swafopt.cxx | 1 + filter/source/graphicfilter/idxf/dxfvec.cxx | 1 + filter/source/graphicfilter/idxf/dxfvec.hxx | 4 +++- idl/inc/bastype.hxx | 2 +- idl/inc/lex.hxx | 2 +- lotuswordpro/source/filter/lwpgrfobj.hxx | 3 ++- sc/inc/postit.hxx | 2 +- sc/source/core/data/postit.cxx | 1 + sc/source/filter/excel/xechart.cxx | 1 + sc/source/filter/inc/imp_op.hxx | 2 +- sc/source/filter/inc/xechart.hxx | 2 +- sc/source/ui/inc/formdata.hxx | 1 - sd/inc/sdfilter.hxx | 2 +- sd/source/filter/eppt/eppt.hxx | 2 +- sd/source/filter/ppt/propread.hxx | 2 +- sd/source/ui/inc/undoheaderfooter.hxx | 1 - sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx | 1 - sd/source/ui/slidesorter/cache/SlsPageCache.cxx | 1 + sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx | 2 +- .../slidesorter/inc/controller/SlsAnimationFunction.hxx | 1 - .../slidesorter/inc/controller/SlsScrollBarManager.hxx | 2 -- .../slidesorter/inc/controller/SlsSelectionObserver.hxx | 2 +- sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx | 1 + sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx | 3 ++- sfx2/inc/sfx2/imgmgr.hxx | 1 - .../engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx | 3 ++- .../engine/OGLTrans/win/OGLTrans_TransitionerImpl.cxx | 3 ++- svl/source/items/szitem.cxx | 1 - svtools/inc/svtools/fltcall.hxx | 2 +- svtools/inc/svtools/javainteractionhandler.hxx | 2 +- svtools/inc/svtools/scriptedtext.hxx | 3 ++- svtools/source/control/scriptedtext.cxx | 1 + svx/inc/svx/EnhancedCustomShape2d.hxx | 1 + svx/inc/svx/IAccessibleViewForwarderListener.hxx | 1 - svx/inc/svx/framelink.hxx | 3 ++- svx/inc/svx/msdffdef.hxx | 2 +- svx/inc/svx/sdr/contact/objectcontactofpageview.hxx | 1 - svx/inc/svx/sdr/contact/viewcontact.hxx | 1 - svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx | 1 + svx/inc/svx/sdr/contact/viewobjectcontact.hxx | 1 - .../svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx | 1 + svx/inc/svx/sdr/overlay/overlayhatchrect.hxx | 1 - svx/inc/svx/sdr/overlay/overlayobjectlist.hxx | 4 +++- svx/inc/svx/unoshape.hxx | 4 +++- svx/inc/xpolyimp.hxx | 3 ++- svx/source/dialog/framelink.cxx | 1 + svx/source/gallery2/codec.hxx | 2 +- svx/source/mnuctrls/clipboardctl.cxx | 1 - svx/source/sdr/overlay/overlaycrosshair.cxx | 1 - svx/source/sdr/overlay/overlayhelpline.cxx | 1 - svx/source/sdr/overlay/overlayline.cxx | 1 - svx/source/sdr/overlay/overlayobjectlist.cxx | 1 + svx/source/sdr/overlay/overlayrollingrectangle.cxx | 1 - svx/source/svdraw/gradtrns.hxx | 1 - svx/source/table/tablelayouter.cxx | 2 ++ svx/source/table/tablelayouter.hxx | 4 +++- svx/source/table/tablemodel.cxx | 4 ++-- svx/source/table/tablemodel.hxx | 4 ++-- svx/source/tbxctrls/lboxctrl.cxx | 2 +- svx/source/unodraw/unoshape.cxx | 1 + svx/source/xoutdev/_xpoly.cxx | 1 + sw/inc/anchoreddrawobject.hxx | 3 ++- sw/inc/frmfmt.hxx | 1 - sw/inc/node.hxx | 3 ++- sw/inc/numrule.hxx | 3 ++- sw/inc/pam.hxx | 3 ++- sw/source/core/crsr/pam.cxx | 1 + sw/source/core/docnode/node.cxx | 1 + sw/source/core/fields/postithelper.cxx | 4 ++-- sw/source/core/inc/fntcache.hxx | 1 + sw/source/core/inc/swfont.hxx | 1 + sw/source/core/layout/anchoreddrawobject.cxx | 1 + toolkit/inc/toolkit/awt/vclxaccessiblecomponent.hxx | 3 +-- tools/inc/poly.h | 4 +++- tools/inc/tools/svborder.hxx | 16 +++++++++++++--- tools/source/generic/poly.cxx | 1 + tools/source/generic/poly2.cxx | 1 + vcl/generic/print/glyphset.cxx | 2 ++ vcl/generic/print/glyphset.hxx | 4 ++-- vcl/inc/generic/gendisp.hxx | 1 - vcl/inc/outfont.hxx | 3 ++- vcl/inc/svdata.hxx | 4 ++-- vcl/inc/unx/i18n_status.hxx | 1 - vcl/inc/unx/salstd.hxx | 1 - vcl/inc/vcl/font.hxx | 3 ++- vcl/inc/vcl/gradient.hxx | 4 +++- vcl/inc/vcl/lineinfo.hxx | 2 +- vcl/inc/vcl/wall.hxx | 2 +- vcl/source/app/svdata.cxx | 1 + vcl/source/gdi/font.cxx | 1 + vcl/source/gdi/gradient.cxx | 1 + 101 files changed, 121 insertions(+), 81 deletions(-) diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx index 556e53aa0ee3..a8eaa6be5879 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx @@ -21,7 +21,6 @@ #include "accessibility/extended/AccessibleBrowseBoxTableCell.hxx" #include #include "accessibility/extended/AccessibleBrowseBox.hxx" -#include #include #include diff --git a/accessibility/source/helper/characterattributeshelper.cxx b/accessibility/source/helper/characterattributeshelper.cxx index 56fd3f8327d8..8180cd9ad0e7 100644 --- a/accessibility/source/helper/characterattributeshelper.cxx +++ b/accessibility/source/helper/characterattributeshelper.cxx @@ -18,6 +18,7 @@ */ #include +#include using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; diff --git a/basctl/source/basicide/iderdll2.hxx b/basctl/source/basicide/iderdll2.hxx index 2e30deee1e6e..98589c86dfd2 100644 --- a/basctl/source/basicide/iderdll2.hxx +++ b/basctl/source/basicide/iderdll2.hxx @@ -23,7 +23,6 @@ class StarBASIC; class SvxSearchItem; -#include #include #include diff --git a/cppcanvas/source/mtfrenderer/pointaction.cxx b/cppcanvas/source/mtfrenderer/pointaction.cxx index 72b2895b175b..43bd43ecce57 100644 --- a/cppcanvas/source/mtfrenderer/pointaction.cxx +++ b/cppcanvas/source/mtfrenderer/pointaction.cxx @@ -21,7 +21,7 @@ #include #include -#include +#include #include #include diff --git a/cppcanvas/source/mtfrenderer/polypolyaction.cxx b/cppcanvas/source/mtfrenderer/polypolyaction.cxx index 723dea5dcf4d..92d70639e974 100644 --- a/cppcanvas/source/mtfrenderer/polypolyaction.cxx +++ b/cppcanvas/source/mtfrenderer/polypolyaction.cxx @@ -23,7 +23,7 @@ #include #include -#include +#include #include #include diff --git a/cppcanvas/source/mtfrenderer/textaction.hxx b/cppcanvas/source/mtfrenderer/textaction.hxx index d6f0f33f5f21..b3218b0a2a1a 100644 --- a/cppcanvas/source/mtfrenderer/textaction.hxx +++ b/cppcanvas/source/mtfrenderer/textaction.hxx @@ -26,10 +26,10 @@ #include #include #include -#include class VirtualDevice; class Point; +class Size; class Color; class String; diff --git a/dbaccess/inc/ToolBoxHelper.hxx b/dbaccess/inc/ToolBoxHelper.hxx index fedf5a3d961c..298bbc83b11b 100644 --- a/dbaccess/inc/ToolBoxHelper.hxx +++ b/dbaccess/inc/ToolBoxHelper.hxx @@ -22,7 +22,6 @@ #include #include -#include #include #include "dbaccessdllapi.h" diff --git a/desktop/source/deployment/gui/dp_gui_dependencydialog.cxx b/desktop/source/deployment/gui/dp_gui_dependencydialog.cxx index 13719ab3e8ef..571bd2806bfb 100644 --- a/desktop/source/deployment/gui/dp_gui_dependencydialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_dependencydialog.cxx @@ -24,7 +24,6 @@ #include #include "rtl/ustring.hxx" -#include "tools/gen.hxx" #include "tools/resid.hxx" #include "tools/solar.h" #include "vcl/dialog.hxx" diff --git a/editeng/inc/editeng/svxfont.hxx b/editeng/inc/editeng/svxfont.hxx index c4a5c2dd132b..ec4e77a93778 100644 --- a/editeng/inc/editeng/svxfont.hxx +++ b/editeng/inc/editeng/svxfont.hxx @@ -32,6 +32,9 @@ class SvxDoCapitals; class OutputDevice; class Printer; +class Point; +class Rectangle; +class Size; class EDITENG_DLLPUBLIC SvxFont : public Font { diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index 9bbddf4a74bd..3d9d2252f030 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/editeng/source/misc/swafopt.cxx b/editeng/source/misc/swafopt.cxx index 33bc56f4aae2..a416507e19a4 100644 --- a/editeng/source/misc/swafopt.cxx +++ b/editeng/source/misc/swafopt.cxx @@ -19,6 +19,7 @@ #include #include +#include #include diff --git a/filter/source/graphicfilter/idxf/dxfvec.cxx b/filter/source/graphicfilter/idxf/dxfvec.cxx index e8ae4afa923f..e18d88f2b330 100644 --- a/filter/source/graphicfilter/idxf/dxfvec.cxx +++ b/filter/source/graphicfilter/idxf/dxfvec.cxx @@ -20,6 +20,7 @@ #include #include +#include //---------------------------- DXFVector --------------------------------------- diff --git a/filter/source/graphicfilter/idxf/dxfvec.hxx b/filter/source/graphicfilter/idxf/dxfvec.hxx index 41cfcc0b7a82..ac975b580426 100644 --- a/filter/source/graphicfilter/idxf/dxfvec.hxx +++ b/filter/source/graphicfilter/idxf/dxfvec.hxx @@ -20,9 +20,11 @@ #ifndef _DXFVEC_HXX #define _DXFVEC_HXX -#include +#include #include +class Point; + class DXFLineInfo { public: LineStyle eStyle; diff --git a/idl/inc/bastype.hxx b/idl/inc/bastype.hxx index 787c3ca758a0..b3efec4a0115 100644 --- a/idl/inc/bastype.hxx +++ b/idl/inc/bastype.hxx @@ -21,8 +21,8 @@ #define _BASTYPE_HXX +#include #include -#include #include #include diff --git a/idl/inc/lex.hxx b/idl/inc/lex.hxx index c05843e504c6..37d75e0d0d1d 100644 --- a/idl/inc/lex.hxx +++ b/idl/inc/lex.hxx @@ -22,8 +22,8 @@ #include +#include #include -#include #include enum SVTOKEN_ENUM { SVTOKEN_EMPTY, SVTOKEN_COMMENT, diff --git a/lotuswordpro/source/filter/lwpgrfobj.hxx b/lotuswordpro/source/filter/lwpgrfobj.hxx index 59e912d7c353..b188fa5fb85e 100644 --- a/lotuswordpro/source/filter/lwpgrfobj.hxx +++ b/lotuswordpro/source/filter/lwpgrfobj.hxx @@ -61,10 +61,11 @@ #ifndef LWPGRFOBJECT_HXX_ #define LWPGRFOBJECT_HXX_ +#include + #include "lwpoleobject.hxx" #include "lwpheader.hxx" #include "xfilter/xfrect.hxx" -#include struct ImageProcessingData { diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx index 69ee67afcdd1..88ae564d5b20 100644 --- a/sc/inc/postit.hxx +++ b/sc/inc/postit.hxx @@ -22,7 +22,6 @@ #include #include -#include #include "address.hxx" #include "scdllapi.h" @@ -34,6 +33,7 @@ class SdrCaptionObj; class SdrPage; class SfxItemSet; class ScDocument; +class Rectangle; struct ScCaptionInitData; // ============================================================================ diff --git a/sc/source/core/data/postit.cxx b/sc/source/core/data/postit.cxx index d3e06705319e..b9bec3f98ce2 100644 --- a/sc/source/core/data/postit.cxx +++ b/sc/source/core/data/postit.cxx @@ -36,6 +36,7 @@ #include #include #include +#include #include "document.hxx" #include "docpool.hxx" diff --git a/sc/source/filter/excel/xechart.cxx b/sc/source/filter/excel/xechart.cxx index bc0bcc729235..fd99e8bf4608 100644 --- a/sc/source/filter/excel/xechart.cxx +++ b/sc/source/filter/excel/xechart.cxx @@ -54,6 +54,7 @@ #include #include +#include #include #include diff --git a/sc/source/filter/inc/imp_op.hxx b/sc/source/filter/inc/imp_op.hxx index d21f0afc159c..8e004f3e0f8a 100644 --- a/sc/source/filter/inc/imp_op.hxx +++ b/sc/source/filter/inc/imp_op.hxx @@ -20,7 +20,7 @@ #ifndef SC_IMP_OP_HXX #define SC_IMP_OP_HXX -#include +#include #include "xiroot.hxx" #include "xistream.hxx" #include "xistyle.hxx" diff --git a/sc/source/filter/inc/xechart.hxx b/sc/source/filter/inc/xechart.hxx index 23599b534205..10f27f4f1402 100644 --- a/sc/source/filter/inc/xechart.hxx +++ b/sc/source/filter/inc/xechart.hxx @@ -20,7 +20,6 @@ #ifndef SC_XECHART_HXX #define SC_XECHART_HXX -#include #include "xerecord.hxx" #include "xlchart.hxx" #include "xlformula.hxx" @@ -31,6 +30,7 @@ #include class Size; +class Rectangle; namespace com { namespace sun { namespace star { namespace awt diff --git a/sc/source/ui/inc/formdata.hxx b/sc/source/ui/inc/formdata.hxx index 8a35a9ac49c8..9fad6707bb9e 100644 --- a/sc/source/ui/inc/formdata.hxx +++ b/sc/source/ui/inc/formdata.hxx @@ -20,7 +20,6 @@ #ifndef SC_FORMDATA_HXX #define SC_FORMDATA_HXX -#include #include class ScInputHandler; class ScDocShell; diff --git a/sd/inc/sdfilter.hxx b/sd/inc/sdfilter.hxx index d44121487001..5dc9502dfa8e 100644 --- a/sd/inc/sdfilter.hxx +++ b/sd/inc/sdfilter.hxx @@ -20,7 +20,7 @@ #ifndef _SD_SDFILTER_HXX #define _SD_SDFILTER_HXX -#include +#include #include #include #include diff --git a/sd/source/filter/eppt/eppt.hxx b/sd/source/filter/eppt/eppt.hxx index 98cbc88881d3..15137631878f 100644 --- a/sd/source/filter/eppt/eppt.hxx +++ b/sd/source/filter/eppt/eppt.hxx @@ -21,9 +21,9 @@ #define _EPPT_HXX_ #include #include "escherex.hxx" +#include #include #include -#include #include #include #include diff --git a/sd/source/filter/ppt/propread.hxx b/sd/source/filter/ppt/propread.hxx index c983e62c3617..b05b9770f90a 100644 --- a/sd/source/filter/ppt/propread.hxx +++ b/sd/source/filter/ppt/propread.hxx @@ -23,9 +23,9 @@ #include #include +#include #include #include -#include #include #include diff --git a/sd/source/ui/inc/undoheaderfooter.hxx b/sd/source/ui/inc/undoheaderfooter.hxx index fdf32d5af16c..588e1297c7e7 100644 --- a/sd/source/ui/inc/undoheaderfooter.hxx +++ b/sd/source/ui/inc/undoheaderfooter.hxx @@ -20,7 +20,6 @@ #ifndef _SD_UNDOHEADERFOOTER_HXX #define _SD_UNDOHEADERFOOTER_HXX -#include #include "sdundo.hxx" #include "sdpage.hxx" #include "sddllapi.h" diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx b/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx index 20fb898a616e..9e15502f2a2a 100644 --- a/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx +++ b/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx @@ -21,7 +21,6 @@ #define SD_SLIDESORTER_BITMAP_COMPRESSOR_HXX #include -#include #include diff --git a/sd/source/ui/slidesorter/cache/SlsPageCache.cxx b/sd/source/ui/slidesorter/cache/SlsPageCache.cxx index 8b238b6ac122..294ae9f76f64 100644 --- a/sd/source/ui/slidesorter/cache/SlsPageCache.cxx +++ b/sd/source/ui/slidesorter/cache/SlsPageCache.cxx @@ -18,6 +18,7 @@ */ +#include #include "SlsGenericPageCache.hxx" #include "SlsRequestFactory.hxx" #include "cache/SlsPageCache.hxx" diff --git a/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx b/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx index e41694354a6e..23d6187e7d30 100644 --- a/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx +++ b/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx @@ -22,10 +22,10 @@ #include "cache/SlsCacheContext.hxx" #include -#include #include #include +struct Size; namespace sd { namespace slidesorter { namespace cache { diff --git a/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx b/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx index b52a0c84f984..44828655a36c 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx @@ -24,7 +24,6 @@ #include #include #include -#include #include namespace sd { namespace slidesorter { namespace view { diff --git a/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx index 5b791908c212..a3d18b25fe9c 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx @@ -28,8 +28,6 @@ #include #include -class Point; -class Rectangle; class ScrollBar; class ScrollBarBox; class Window; diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx index 8e70d97834f8..51718fa931b0 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx @@ -20,7 +20,7 @@ #ifndef SD_SLIDESORTER_CONTROLLER_SELECTION_OBSERVER_HXX #define SD_SLIDESORTER_CONTROLLER_SELECTION_OBSERVER_HXX -#include +#include #include #include diff --git a/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx b/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx index 47efd3870946..601525951231 100644 --- a/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx +++ b/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx @@ -26,6 +26,7 @@ #include #include +#include namespace sd { namespace slidesorter { namespace view { diff --git a/sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx b/sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx index 4060ff27ac8c..6cd755cc8eda 100644 --- a/sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx +++ b/sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx @@ -23,7 +23,6 @@ #include "view/SlsILayerPainter.hxx" #include "SlideSorter.hxx" -#include #include #include @@ -33,6 +32,8 @@ #include #include +class Rectangle; + namespace sd { namespace slidesorter { namespace view { /** A simple wrapper around an OutputDevice that provides support for diff --git a/sfx2/inc/sfx2/imgmgr.hxx b/sfx2/inc/sfx2/imgmgr.hxx index c7357de5f666..7ef278023336 100644 --- a/sfx2/inc/sfx2/imgmgr.hxx +++ b/sfx2/inc/sfx2/imgmgr.hxx @@ -24,7 +24,6 @@ #include "sfx2/dllapi.h" #include -#include #include class ToolBox; diff --git a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx index 2e3ae05e2ca4..93c1d13e97ac 100644 --- a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx @@ -29,6 +29,8 @@ #define GLX_GLXEXT_PROTOTYPES 1 #include "OGLTrans_TransitionImpl.hxx" +#include + #include #include #include @@ -54,7 +56,6 @@ #include #include -#include #include #include diff --git a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionerImpl.cxx index 1842dd4231ea..f14af9ac918c 100644 --- a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionerImpl.cxx @@ -42,6 +42,8 @@ #include #include +#include + #include #include #include @@ -50,7 +52,6 @@ #include #include -#include #include #include #include diff --git a/svl/source/items/szitem.cxx b/svl/source/items/szitem.cxx index 4c3f73c00821..4660a1f794ee 100644 --- a/svl/source/items/szitem.cxx +++ b/svl/source/items/szitem.cxx @@ -22,7 +22,6 @@ #include #include #include -#include #include #include diff --git a/svtools/inc/svtools/fltcall.hxx b/svtools/inc/svtools/fltcall.hxx index ded1d84e021a..91e4d289a6d1 100644 --- a/svtools/inc/svtools/fltcall.hxx +++ b/svtools/inc/svtools/fltcall.hxx @@ -19,7 +19,7 @@ #ifndef _FLTCALL_HXX #define _FLTCALL_HXX -#include +#include #include #include #include diff --git a/svtools/inc/svtools/javainteractionhandler.hxx b/svtools/inc/svtools/javainteractionhandler.hxx index 1b0c0c649761..fed409f41ec5 100644 --- a/svtools/inc/svtools/javainteractionhandler.hxx +++ b/svtools/inc/svtools/javainteractionhandler.hxx @@ -22,7 +22,7 @@ #include "svtools/svtdllapi.h" #include -#include +#include #include #include diff --git a/svtools/inc/svtools/scriptedtext.hxx b/svtools/inc/svtools/scriptedtext.hxx index 1bc5f1ca5198..9d99588126c3 100644 --- a/svtools/inc/svtools/scriptedtext.hxx +++ b/svtools/inc/svtools/scriptedtext.hxx @@ -21,7 +21,6 @@ #define _SVTOOLS_SCRIPTEDTEXT_HXX #include "svtools/svtdllapi.h" -#include #include @@ -29,6 +28,8 @@ namespace rtl { class OUString; } class OutputDevice; class Font; class SvtScriptedTextHelper_Impl; +class Size; +class Point; //_____________________________________________________________________________ diff --git a/svtools/source/control/scriptedtext.cxx b/svtools/source/control/scriptedtext.cxx index 68d8e7049f50..146ceeb37c7b 100644 --- a/svtools/source/control/scriptedtext.cxx +++ b/svtools/source/control/scriptedtext.cxx @@ -23,6 +23,7 @@ #include #include #include +#include #include diff --git a/svx/inc/svx/EnhancedCustomShape2d.hxx b/svx/inc/svx/EnhancedCustomShape2d.hxx index cbe34fbdd8e0..e2cd4eef637c 100644 --- a/svx/inc/svx/EnhancedCustomShape2d.hxx +++ b/svx/inc/svx/EnhancedCustomShape2d.hxx @@ -33,6 +33,7 @@ #include #include #include +#include #include #include diff --git a/svx/inc/svx/IAccessibleViewForwarderListener.hxx b/svx/inc/svx/IAccessibleViewForwarderListener.hxx index 6d3a7f246e5d..8a9a061bfb5e 100644 --- a/svx/inc/svx/IAccessibleViewForwarderListener.hxx +++ b/svx/inc/svx/IAccessibleViewForwarderListener.hxx @@ -21,7 +21,6 @@ #define _SVX_ACCESSIBILITY_IACCESSIBLE_VIEW_FORWARDER_LISTENER_HXX #include -#include namespace accessibility { diff --git a/svx/inc/svx/framelink.hxx b/svx/inc/svx/framelink.hxx index c15c9be28958..a8a05076f471 100644 --- a/svx/inc/svx/framelink.hxx +++ b/svx/inc/svx/framelink.hxx @@ -22,7 +22,6 @@ #include #include -#include #include #include "svx/svxdllapi.h" #include @@ -30,6 +29,8 @@ #include +class Point; +class Rectangle; class OutputDevice; namespace svx { diff --git a/svx/inc/svx/msdffdef.hxx b/svx/inc/svx/msdffdef.hxx index e0b1b10aeede..3ff5a3dbebe8 100644 --- a/svx/inc/svx/msdffdef.hxx +++ b/svx/inc/svx/msdffdef.hxx @@ -20,9 +20,9 @@ #ifndef _MSDFFDEF_HXX #define _MSDFFDEF_HXX +#include #include #include -#include #include "svx/svxdllapi.h" #define DFF_COMMON_RECORD_HEADER_SIZE 8 diff --git a/svx/inc/svx/sdr/contact/objectcontactofpageview.hxx b/svx/inc/svx/sdr/contact/objectcontactofpageview.hxx index 49a4af3b34bb..06371bf35b81 100644 --- a/svx/inc/svx/sdr/contact/objectcontactofpageview.hxx +++ b/svx/inc/svx/sdr/contact/objectcontactofpageview.hxx @@ -21,7 +21,6 @@ #define _SDR_CONTACT_OBJECTCONTACTOFPAGEVIEW_HXX #include -#include ////////////////////////////////////////////////////////////////////////////// // predeclarations diff --git a/svx/inc/svx/sdr/contact/viewcontact.hxx b/svx/inc/svx/sdr/contact/viewcontact.hxx index a96f14424031..0a1c43905609 100644 --- a/svx/inc/svx/sdr/contact/viewcontact.hxx +++ b/svx/inc/svx/sdr/contact/viewcontact.hxx @@ -21,7 +21,6 @@ #define _SDR_CONTACT_VIEWCONTACT_HXX #include -#include #include "svx/svxdllapi.h" #include diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx index 9cccb542a11d..3ad8580cf12e 100644 --- a/svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx +++ b/svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx @@ -22,6 +22,7 @@ #include #include "svx/svxdllapi.h" +#include ////////////////////////////////////////////////////////////////////////////// // predeclarations diff --git a/svx/inc/svx/sdr/contact/viewobjectcontact.hxx b/svx/inc/svx/sdr/contact/viewobjectcontact.hxx index 66b2baeda6c3..96c3918a4c42 100644 --- a/svx/inc/svx/sdr/contact/viewobjectcontact.hxx +++ b/svx/inc/svx/sdr/contact/viewobjectcontact.hxx @@ -23,7 +23,6 @@ #include #include -#include #include "svx/svxdllapi.h" #include diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx index 25257e582520..e1e24dab8442 100644 --- a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx +++ b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx @@ -22,6 +22,7 @@ #include #include +#include namespace avmedia { class MediaItem; } class Window; diff --git a/svx/inc/svx/sdr/overlay/overlayhatchrect.hxx b/svx/inc/svx/sdr/overlay/overlayhatchrect.hxx index 2ccf60fc0cbe..7f01c3537e42 100644 --- a/svx/inc/svx/sdr/overlay/overlayhatchrect.hxx +++ b/svx/inc/svx/sdr/overlay/overlayhatchrect.hxx @@ -22,7 +22,6 @@ #include #include -#include ////////////////////////////////////////////////////////////////////////////// diff --git a/svx/inc/svx/sdr/overlay/overlayobjectlist.hxx b/svx/inc/svx/sdr/overlay/overlayobjectlist.hxx index 67c4e510f17e..ea75ace1e94a 100644 --- a/svx/inc/svx/sdr/overlay/overlayobjectlist.hxx +++ b/svx/inc/svx/sdr/overlay/overlayobjectlist.hxx @@ -21,7 +21,7 @@ #define _SDR_OVERLAY_OVERLAYOBJECTLIST_HXX #include -#include +#include #include "svx/svxdllapi.h" ////////////////////////////////////////////////////////////////////////////// @@ -30,6 +30,8 @@ ////////////////////////////////////////////////////////////////////////////// +class Point; + namespace sdr { namespace overlay diff --git a/svx/inc/svx/unoshape.hxx b/svx/inc/svx/unoshape.hxx index 1a1752900c2a..36bf13f81a30 100644 --- a/svx/inc/svx/unoshape.hxx +++ b/svx/inc/svx/unoshape.hxx @@ -37,7 +37,7 @@ #include #include #include -#include +#include #include #include #include @@ -62,6 +62,8 @@ class SfxItemSet; class SdrModel; class SvxDrawPage; class SvGlobalName; +class Pair; + // Dimension arrows change size/position on save/reload (#i59051#) namespace basegfx { diff --git a/svx/inc/xpolyimp.hxx b/svx/inc/xpolyimp.hxx index ea5766b9cbea..f3b06ef77fe4 100644 --- a/svx/inc/xpolyimp.hxx +++ b/svx/inc/xpolyimp.hxx @@ -20,10 +20,11 @@ #ifndef _XPOLYIMP_HXX #define _XPOLYIMP_HXX -#include #include #include +class Point; + class ImpXPolygon { public: diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx index 8635ad2391b0..d1d49ae265cd 100644 --- a/svx/source/dialog/framelink.cxx +++ b/svx/source/dialog/framelink.cxx @@ -21,6 +21,7 @@ #include #include +#include #include #include diff --git a/svx/source/gallery2/codec.hxx b/svx/source/gallery2/codec.hxx index 99363af0fb79..b7620a3e3799 100644 --- a/svx/source/gallery2/codec.hxx +++ b/svx/source/gallery2/codec.hxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include +#include // ---------------- // - GalleryCodec - diff --git a/svx/source/mnuctrls/clipboardctl.cxx b/svx/source/mnuctrls/clipboardctl.cxx index eb5538534559..c288020bf695 100644 --- a/svx/source/mnuctrls/clipboardctl.cxx +++ b/svx/source/mnuctrls/clipboardctl.cxx @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include diff --git a/svx/source/sdr/overlay/overlaycrosshair.cxx b/svx/source/sdr/overlay/overlaycrosshair.cxx index ba6df7084035..bb126d9c7818 100644 --- a/svx/source/sdr/overlay/overlaycrosshair.cxx +++ b/svx/source/sdr/overlay/overlaycrosshair.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include diff --git a/svx/source/sdr/overlay/overlayhelpline.cxx b/svx/source/sdr/overlay/overlayhelpline.cxx index 8d0f3a9c682f..f0dee820a8d8 100644 --- a/svx/source/sdr/overlay/overlayhelpline.cxx +++ b/svx/source/sdr/overlay/overlayhelpline.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include diff --git a/svx/source/sdr/overlay/overlayline.cxx b/svx/source/sdr/overlay/overlayline.cxx index e99ee63ce4e3..fa9d2d0c8cc1 100644 --- a/svx/source/sdr/overlay/overlayline.cxx +++ b/svx/source/sdr/overlay/overlayline.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include diff --git a/svx/source/sdr/overlay/overlayobjectlist.cxx b/svx/source/sdr/overlay/overlayobjectlist.cxx index 93560b880930..684dd09caf4d 100644 --- a/svx/source/sdr/overlay/overlayobjectlist.cxx +++ b/svx/source/sdr/overlay/overlayobjectlist.cxx @@ -21,6 +21,7 @@ #include #include #include +#include // for SOLARIS compiler include of algorithm part of _STL is necesary to // get access to basic algos like ::std::find diff --git a/svx/source/sdr/overlay/overlayrollingrectangle.cxx b/svx/source/sdr/overlay/overlayrollingrectangle.cxx index 852e95b8c2c2..977c91e2275f 100644 --- a/svx/source/sdr/overlay/overlayrollingrectangle.cxx +++ b/svx/source/sdr/overlay/overlayrollingrectangle.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include diff --git a/svx/source/svdraw/gradtrns.hxx b/svx/source/svdraw/gradtrns.hxx index 25bd4c778663..23cf3e9ea56e 100644 --- a/svx/source/svdraw/gradtrns.hxx +++ b/svx/source/svdraw/gradtrns.hxx @@ -21,7 +21,6 @@ #define _GRADTRANS_HXX #include -#include #include class SdrObject; diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx index 599bf61a134f..eecf16d80bf3 100644 --- a/svx/source/table/tablelayouter.cxx +++ b/svx/source/table/tablelayouter.cxx @@ -21,6 +21,8 @@ #include #include +#include + #include "cell.hxx" #include "cellrange.hxx" #include "tablemodel.hxx" diff --git a/svx/source/table/tablelayouter.hxx b/svx/source/table/tablelayouter.hxx index 9bd48726ed54..6d2fd9e19af2 100644 --- a/svx/source/table/tablelayouter.hxx +++ b/svx/source/table/tablelayouter.hxx @@ -23,15 +23,17 @@ #include #include #include +#include #include #include -#include #include #include #include #include "svx/svdotable.hxx" +class Rectangle; + // ----------------------------------------------------------------------------- namespace editeng { diff --git a/svx/source/table/tablemodel.cxx b/svx/source/table/tablemodel.cxx index 46b1c9a6f462..5387babf17eb 100644 --- a/svx/source/table/tablemodel.cxx +++ b/svx/source/table/tablemodel.cxx @@ -311,11 +311,11 @@ Reference< XCellCursor > SAL_CALL TableModel::createCursor() throw (RuntimeExcep // ----------------------------------------------------------------------------- -Reference< XCellCursor > SAL_CALL TableModel::createCursorByRange( const Reference< XCellRange >& Range ) throw (IllegalArgumentException, RuntimeException) +Reference< XCellCursor > SAL_CALL TableModel::createCursorByRange( const Reference< XCellRange >& rRange ) throw (IllegalArgumentException, RuntimeException) { ::SolarMutexGuard aGuard; - ICellRange* pRange = dynamic_cast< ICellRange* >( Range.get() ); + ICellRange* pRange = dynamic_cast< ICellRange* >( rRange.get() ); if( (pRange == 0) || (pRange->getTable().get() != this) ) throw IllegalArgumentException(); diff --git a/svx/source/table/tablemodel.hxx b/svx/source/table/tablemodel.hxx index df0bca41317e..9aabdfa8bffa 100644 --- a/svx/source/table/tablemodel.hxx +++ b/svx/source/table/tablemodel.hxx @@ -20,6 +20,7 @@ #ifndef _SVX_TABLE_TABLEMODEL_HXX_ #define _SVX_TABLE_TABLEMODEL_HXX_ +#include #include #include #include @@ -27,7 +28,6 @@ #include #include #include -#include #include "celltypes.hxx" // ----------------------------------------------------------------------------- @@ -100,7 +100,7 @@ public: // XTable virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellCursor > SAL_CALL createCursor( ) throw (::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellCursor > SAL_CALL createCursorByRange( const ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange >& Range ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellCursor > SAL_CALL createCursorByRange( const ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange >& rRange ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); virtual ::sal_Int32 SAL_CALL getRowCount() throw (::com::sun::star::uno::RuntimeException); virtual ::sal_Int32 SAL_CALL getColumnCount() throw (::com::sun::star::uno::RuntimeException); diff --git a/svx/source/tbxctrls/lboxctrl.cxx b/svx/source/tbxctrls/lboxctrl.cxx index efc9ebcf6928..15ee615c1d1f 100644 --- a/svx/source/tbxctrls/lboxctrl.cxx +++ b/svx/source/tbxctrls/lboxctrl.cxx @@ -21,6 +21,7 @@ #ifdef _TOOLS_DEBUG_HXX #include #endif +#include #include #include #include @@ -29,7 +30,6 @@ #include #include #include -#include #include #include #include diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 19236eb83341..8ff4a8bc0446 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -62,6 +62,7 @@ #include "svx/svdomeas.hxx" #include "svx/svdpagv.hxx" #include "svx/svdpool.hxx" +#include #include // #include "svx/dialmgr.hxx" // not nice, we need our own resources some day #include "svx/dialogs.hrc" // diff --git a/svx/source/xoutdev/_xpoly.cxx b/svx/source/xoutdev/_xpoly.cxx index 169d1b56ade1..4053c11158c6 100644 --- a/svx/source/xoutdev/_xpoly.cxx +++ b/svx/source/xoutdev/_xpoly.cxx @@ -22,6 +22,7 @@ #include #include #include +#include #include #include "xpolyimp.hxx" diff --git a/sw/inc/anchoreddrawobject.hxx b/sw/inc/anchoreddrawobject.hxx index 43ecefad83ba..4c26983953e4 100644 --- a/sw/inc/anchoreddrawobject.hxx +++ b/sw/inc/anchoreddrawobject.hxx @@ -20,7 +20,8 @@ #define _ANCHOREDDRAWOBJECT_HXX #include -#include + +class Rectangle; /** class for the positioning of drawing objects diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx index a3a347f78601..bf016ee46765 100644 --- a/sw/inc/frmfmt.hxx +++ b/sw/inc/frmfmt.hxx @@ -28,7 +28,6 @@ class SwFlyFrm; class SwAnchoredObject; class Graphic; -class Point; class ImageMap; class IMapObject; class SwRect; diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx index b79401f4d19d..7690cf8149d0 100644 --- a/sw/inc/node.hxx +++ b/sw/inc/node.hxx @@ -25,8 +25,8 @@ #include #include +#include #include -#include #include "swdllapi.h" #include @@ -75,6 +75,7 @@ class IDocumentFieldsAccess; class IDocumentContentOperations; class IDocumentListItems; class SwOLENodes; +class Point; /// Base class of the Writer document model elements. class SW_DLLPUBLIC SwNode diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx index 3b468ef61d88..562b7a9e5fc8 100644 --- a/sw/inc/numrule.hxx +++ b/sw/inc/numrule.hxx @@ -19,7 +19,7 @@ #ifndef _NUMRULE_HXX #define _NUMRULE_HXX -#include +#include #include #include #include @@ -42,6 +42,7 @@ class SwCharFmt; class SwDoc; class SwFmtVertOrient; class SwTxtNode; +class Size; const sal_Unicode cBulletChar = 0x2022; ///< Character for lists. diff --git a/sw/inc/pam.hxx b/sw/inc/pam.hxx index bfe7214bc332..31e1008abbc6 100644 --- a/sw/inc/pam.hxx +++ b/sw/inc/pam.hxx @@ -20,7 +20,7 @@ #define _PAM_HXX #include ///< For MemPool. -#include +#include #include #include ///< For function definitions. #include ///< Super class. @@ -35,6 +35,7 @@ class SwDoc; class SwNode; class SwCntntNode; class SwPaM; +class Point; namespace com { namespace sun { namespace star { namespace util { struct SearchOptions; diff --git a/sw/source/core/crsr/pam.cxx b/sw/source/core/crsr/pam.cxx index baf62ad58ba3..e9b78020808e 100644 --- a/sw/source/core/crsr/pam.cxx +++ b/sw/source/core/crsr/pam.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include #include #include #include diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx index 132282fa175f..a97261150a36 100644 --- a/sw/source/core/docnode/node.cxx +++ b/sw/source/core/docnode/node.cxx @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/fields/postithelper.cxx b/sw/source/core/fields/postithelper.cxx index 326490b0fef0..570631947042 100644 --- a/sw/source/core/fields/postithelper.cxx +++ b/sw/source/core/fields/postithelper.cxx @@ -18,8 +18,6 @@ */ -#include - #include #include #include @@ -39,6 +37,8 @@ #include #include +class Point; + namespace { struct LayoutInfoOrder diff --git a/sw/source/core/inc/fntcache.hxx b/sw/source/core/inc/fntcache.hxx index 2206d2865398..7d2981b9ba3f 100644 --- a/sw/source/core/inc/fntcache.hxx +++ b/sw/source/core/inc/fntcache.hxx @@ -32,6 +32,7 @@ class SwDrawTextInfo; class ViewShell; class SwSubFont; class MapMode; +class Point; class SwFntCache : public SwCache { diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx index fd94e33ee622..cb8011333343 100644 --- a/sw/source/core/inc/swfont.hxx +++ b/sw/source/core/inc/swfont.hxx @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include // SwDrawTextInfo diff --git a/sw/source/core/layout/anchoreddrawobject.cxx b/sw/source/core/layout/anchoreddrawobject.cxx index 621f5fc83ea7..6b3e5b5be023 100644 --- a/sw/source/core/layout/anchoreddrawobject.cxx +++ b/sw/source/core/layout/anchoreddrawobject.cxx @@ -33,6 +33,7 @@ // --> #i32795# // template class #include +#include // --> #i28749# #include diff --git a/toolkit/inc/toolkit/awt/vclxaccessiblecomponent.hxx b/toolkit/inc/toolkit/awt/vclxaccessiblecomponent.hxx index 002c39b454d3..7d5f10e81093 100644 --- a/toolkit/inc/toolkit/awt/vclxaccessiblecomponent.hxx +++ b/toolkit/inc/toolkit/awt/vclxaccessiblecomponent.hxx @@ -32,8 +32,7 @@ #include #include -#include // Size -#include // Size +#include class Window; class VCLXWindow; diff --git a/tools/inc/poly.h b/tools/inc/poly.h index a925f9b42739..9f05dcc2b3e4 100644 --- a/tools/inc/poly.h +++ b/tools/inc/poly.h @@ -19,7 +19,9 @@ #ifndef _POLY_H #define _POLY_H -#include +#include + +class Point; class SAL_WARN_UNUSED ImplPolygonData { diff --git a/tools/inc/tools/svborder.hxx b/tools/inc/tools/svborder.hxx index 0aebbfecdd47..de4a8666cbd8 100644 --- a/tools/inc/tools/svborder.hxx +++ b/tools/inc/tools/svborder.hxx @@ -29,11 +29,21 @@ class TOOLS_DLLPUBLIC SvBorder public: SvBorder() - { nTop = nRight = nBottom = nLeft = 0; } + { + nTop = nRight = nBottom = nLeft = 0; + } SvBorder( const Size & rSz ) - { nTop = nBottom = rSz.Height(); nRight = nLeft = rSz.Width(); } + { + nTop = nBottom = rSz.Height(); + nRight = nLeft = rSz.Width(); + } SvBorder( long nLeftP, long nTopP, long nRightP, long nBottomP ) - { nLeft = nLeftP; nTop = nTopP; nRight = nRightP; nBottom = nBottomP; } + { + nLeft = nLeftP; + nTop = nTopP; + nRight = nRightP; + nBottom = nBottomP; + } sal_Bool operator == ( const SvBorder & rObj ) const { return nTop == rObj.nTop && nRight == rObj.nRight && diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index 9f66f90a9064..dfa931a2433d 100644 --- a/tools/source/generic/poly.cxx +++ b/tools/source/generic/poly.cxx @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx index a6dff0239a24..869ac0aa9167 100644 --- a/tools/source/generic/poly2.cxx +++ b/tools/source/generic/poly2.cxx @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include diff --git a/vcl/generic/print/glyphset.cxx b/vcl/generic/print/glyphset.cxx index 5c90618c2087..d5635e7e4d5b 100644 --- a/vcl/generic/print/glyphset.cxx +++ b/vcl/generic/print/glyphset.cxx @@ -27,6 +27,8 @@ #include "fontsubset.hxx" #include "vcl/fontmanager.hxx" +#include + #include "osl/thread.h" #include "sal/alloca.h" diff --git a/vcl/generic/print/glyphset.hxx b/vcl/generic/print/glyphset.hxx index 40172377f53e..f469d9b2a3af 100644 --- a/vcl/generic/print/glyphset.hxx +++ b/vcl/generic/print/glyphset.hxx @@ -26,11 +26,11 @@ #include "rtl/string.hxx" -#include "tools/gen.hxx" - #include #include +class Point; + namespace psp { class PrinterGfx; diff --git a/vcl/inc/generic/gendisp.hxx b/vcl/inc/generic/gendisp.hxx index d64fc9f1135c..9e603b933166 100644 --- a/vcl/inc/generic/gendisp.hxx +++ b/vcl/inc/generic/gendisp.hxx @@ -25,7 +25,6 @@ #include #include #include -#include #include #include diff --git a/vcl/inc/outfont.hxx b/vcl/inc/outfont.hxx index 741d6be82158..53ec90991bc7 100644 --- a/vcl/inc/outfont.hxx +++ b/vcl/inc/outfont.hxx @@ -20,9 +20,9 @@ #ifndef _SV_OUTFONT_HXX #define _SV_OUTFONT_HXX +#include #include #include -#include #include #include #include @@ -42,6 +42,7 @@ class Font; class ConvertChar; struct FontMatchStatus; class OutputDevice; +class Size; namespace com { namespace sun { namespace star { namespace lang { struct Locale; }}}} diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx index f7dcbd674782..ff87f290c70a 100644 --- a/vcl/inc/svdata.hxx +++ b/vcl/inc/svdata.hxx @@ -20,10 +20,11 @@ #ifndef _SV_SVDATA_HXX #define _SV_SVDATA_HXX +#include "sal/types.h" + #include #include -#include "tools/gen.hxx" #include "tools/shl.hxx" #include "tools/link.hxx" #include "tools/fldunit.hxx" @@ -50,7 +51,6 @@ class ImplDirectFontSubstitution; struct ImplHotKey; struct ImplEventHook; class Point; -class Rectangle; class ResMgr; class ImplAccelManager; class ImplDevFontList; diff --git a/vcl/inc/unx/i18n_status.hxx b/vcl/inc/unx/i18n_status.hxx index 03330f238dcb..92310f1732a5 100644 --- a/vcl/inc/unx/i18n_status.hxx +++ b/vcl/inc/unx/i18n_status.hxx @@ -21,7 +21,6 @@ #define _SAL_I18N_STATUS_HXX #include -#include #include #include diff --git a/vcl/inc/unx/salstd.hxx b/vcl/inc/unx/salstd.hxx index 2417cfe4a2af..73a2868836ce 100644 --- a/vcl/inc/unx/salstd.hxx +++ b/vcl/inc/unx/salstd.hxx @@ -20,7 +20,6 @@ #ifndef _SALSTD_HXX #define _SALSTD_HXX -#include #include // -=-= X-Lib forwards -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= diff --git a/vcl/inc/vcl/font.hxx b/vcl/inc/vcl/font.hxx index 077b4f100336..f651ba6c1401 100644 --- a/vcl/inc/vcl/font.hxx +++ b/vcl/inc/vcl/font.hxx @@ -20,8 +20,8 @@ #ifndef _SV_FONT_HXX #define _SV_FONT_HXX +#include #include -#include #include #include #include @@ -33,6 +33,7 @@ class SvStream; class Impl_Font; class ImplFontAttributes; +class Size; // -------- // - Font - diff --git a/vcl/inc/vcl/gradient.hxx b/vcl/inc/vcl/gradient.hxx index 27fc81fd7519..d9bbf7aea1ad 100644 --- a/vcl/inc/vcl/gradient.hxx +++ b/vcl/inc/vcl/gradient.hxx @@ -20,9 +20,9 @@ #ifndef _SV_GRADIENT_HXX #define _SV_GRADIENT_HXX +#include #include #include -#include #include @@ -30,6 +30,8 @@ // - Impl_Gradient - // ---------------- +class Rectangle; +class Point; class SvStream; class Impl_Gradient diff --git a/vcl/inc/vcl/lineinfo.hxx b/vcl/inc/vcl/lineinfo.hxx index 648b060da6fd..d5165a63e016 100644 --- a/vcl/inc/vcl/lineinfo.hxx +++ b/vcl/inc/vcl/lineinfo.hxx @@ -20,8 +20,8 @@ #ifndef _SV_LINEINFO_HXX #define _SV_LINEINFO_HXX +#include #include -#include #include #include #include diff --git a/vcl/inc/vcl/wall.hxx b/vcl/inc/vcl/wall.hxx index 84d008430823..e18adf78f60b 100644 --- a/vcl/inc/vcl/wall.hxx +++ b/vcl/inc/vcl/wall.hxx @@ -23,8 +23,8 @@ #include #include #include +#include -class Rectangle; class Gradient; class BitmapEx; class ImplWallpaper; diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx index e8716cd13129..657c3ee3c237 100644 --- a/vcl/source/app/svdata.cxx +++ b/vcl/source/app/svdata.cxx @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/vcl/source/gdi/font.cxx b/vcl/source/gdi/font.cxx index bbb74ed0f50f..b80e8e00b3ca 100644 --- a/vcl/source/gdi/font.cxx +++ b/vcl/source/gdi/font.cxx @@ -23,6 +23,7 @@ #include "tools/stream.hxx" #include "tools/vcompat.hxx" #include "tools/debug.hxx" +#include #include "vcl/font.hxx" diff --git a/vcl/source/gdi/gradient.cxx b/vcl/source/gdi/gradient.cxx index 06b3e487b887..ea8a6bcd60c3 100644 --- a/vcl/source/gdi/gradient.cxx +++ b/vcl/source/gdi/gradient.cxx @@ -20,6 +20,7 @@ #include #include #include +#include #include // ======================================================================= -- cgit v1.2.3