diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-09-05 20:41:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-06 08:44:54 +0100 |
commit | 495ad69a2eb2b0b12bf799a8f973a7121c4722d2 (patch) | |
tree | a22bb5dbd0766607d1562c560663d0750b60e326 /vcl | |
parent | c966bac490bb161cb2f5ede962a6e3e7f002e178 (diff) |
don't need to include all these headers, reduce to required min
Change-Id: I1f05ed32cabc059309f46ec0a195705f0e774bd6
Diffstat (limited to 'vcl')
26 files changed, 12 insertions, 32 deletions
diff --git a/vcl/inc/unx/gtk/gtkdata.hxx b/vcl/inc/unx/gtk/gtkdata.hxx index 4e29401b366c..4d4970a95fc3 100644 --- a/vcl/inc/unx/gtk/gtkdata.hxx +++ b/vcl/inc/unx/gtk/gtkdata.hxx @@ -29,7 +29,6 @@ #include <unx/gendata.hxx> #include <unx/saldisp.hxx> -#include <unx/saldata.hxx> #include <unx/gtk/gtksys.hxx> #include <vcl/ptrstyle.hxx> #include <osl/conditn.h> diff --git a/vcl/opengl/x11/salvd.cxx b/vcl/opengl/x11/salvd.cxx index d6b8eaf4e286..ff0a2c3332e6 100644 --- a/vcl/opengl/x11/salvd.cxx +++ b/vcl/opengl/x11/salvd.cxx @@ -10,7 +10,6 @@ #include <vcl/sysdata.hxx> #include <unx/salunx.h> -#include <unx/saldata.hxx> #include <unx/saldisp.hxx> #include <unx/salgdi.h> #include <unx/salvd.h> diff --git a/vcl/unx/generic/app/i18n_ic.cxx b/vcl/unx/generic/app/i18n_ic.cxx index 503cd87ed6a6..e83a3f531810 100644 --- a/vcl/unx/generic/app/i18n_ic.cxx +++ b/vcl/unx/generic/app/i18n_ic.cxx @@ -32,7 +32,6 @@ #include <unx/i18n_status.hxx> #include <unx/salframe.h> -#include <unx/saldata.hxx> #include <unx/saldisp.hxx> using namespace vcl; diff --git a/vcl/unx/generic/app/i18n_status.cxx b/vcl/unx/generic/app/i18n_status.cxx index ffd7b76be6d7..769e0568bc51 100644 --- a/vcl/unx/generic/app/i18n_status.cxx +++ b/vcl/unx/generic/app/i18n_status.cxx @@ -31,7 +31,7 @@ #include <unx/i18n_ic.hxx> #include <unx/saldisp.hxx> #include <unx/salframe.h> -#include <unx/saldata.hxx> +#include <unx/salinst.h> #include <vcl/wrkwin.hxx> #include <vcl/fixed.hxx> diff --git a/vcl/unx/generic/app/i18n_xkb.cxx b/vcl/unx/generic/app/i18n_xkb.cxx index cc8a0a8533e8..79739be87249 100644 --- a/vcl/unx/generic/app/i18n_xkb.cxx +++ b/vcl/unx/generic/app/i18n_xkb.cxx @@ -23,7 +23,6 @@ #include <X11/XKBlib.h> #include "unx/saldisp.hxx" -#include "unx/saldata.hxx" #include "unx/i18n_xkb.hxx" SalI18N_KeyboardExtension::SalI18N_KeyboardExtension( Display* pDisplay ) diff --git a/vcl/unx/generic/app/randrwrapper.cxx b/vcl/unx/generic/app/randrwrapper.cxx index 0ae4027adf1e..27dbeb19a23e 100644 --- a/vcl/unx/generic/app/randrwrapper.cxx +++ b/vcl/unx/generic/app/randrwrapper.cxx @@ -105,7 +105,6 @@ void RandRWrapper::releaseWrapper() #endif #include "unx/saldisp.hxx" -#include "unx/salframe.h" #if OSL_DEBUG_LEVEL > 1 #include <cstdio> #endif diff --git a/vcl/unx/generic/app/saldata.cxx b/vcl/unx/generic/app/saldata.cxx index 15e541ab6f0b..a75fe0a299e7 100644 --- a/vcl/unx/generic/app/saldata.cxx +++ b/vcl/unx/generic/app/saldata.cxx @@ -44,7 +44,6 @@ #include "unx/saldisp.hxx" #include "unx/saldata.hxx" -#include "unx/salframe.h" #include "unx/sm.hxx" #include "unx/i18n_im.hxx" #include "unx/i18n_xkb.hxx" diff --git a/vcl/unx/generic/app/sm.cxx b/vcl/unx/generic/app/sm.cxx index 4a958134c1b9..9a4c1f12e1c0 100644 --- a/vcl/unx/generic/app/sm.cxx +++ b/vcl/unx/generic/app/sm.cxx @@ -37,7 +37,6 @@ #include <X11/Xatom.h> #include <unx/sm.hxx> -#include <unx/saldata.hxx> #include <unx/saldisp.hxx> #include <unx/salframe.h> #include <unx/salinst.h> diff --git a/vcl/unx/generic/app/wmadaptor.cxx b/vcl/unx/generic/app/wmadaptor.cxx index 640c16f2cdb2..0c142e3d84ee 100644 --- a/vcl/unx/generic/app/wmadaptor.cxx +++ b/vcl/unx/generic/app/wmadaptor.cxx @@ -31,7 +31,7 @@ #include "unx/wmadaptor.hxx" #include "unx/saldisp.hxx" -#include "unx/saldata.hxx" +#include "unx/salinst.h" #include "unx/salframe.h" #include "salgdi.hxx" diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx index 50ccb40d2b63..89caeb7da885 100644 --- a/vcl/unx/generic/dtrans/X11_selection.cxx +++ b/vcl/unx/generic/dtrans/X11_selection.cxx @@ -22,7 +22,6 @@ #include <cstdlib> #include "unx/saldisp.hxx" -#include "unx/saldata.hxx" #include <unistd.h> #include <stdio.h> diff --git a/vcl/unx/generic/gdi/gcach_xpeer.cxx b/vcl/unx/generic/gdi/gcach_xpeer.cxx index c74498e3d00d..b72c6242dae6 100644 --- a/vcl/unx/generic/gdi/gcach_xpeer.cxx +++ b/vcl/unx/generic/gdi/gcach_xpeer.cxx @@ -22,7 +22,6 @@ #include "osl/thread.h" #include "unx/saldisp.hxx" -#include "unx/saldata.hxx" #include "unx/salgdi.h" #include "gcach_xpeer.hxx" diff --git a/vcl/unx/generic/gdi/gdiimpl.cxx b/vcl/unx/generic/gdi/gdiimpl.cxx index 0a073495969a..ed7b3772f5c7 100644 --- a/vcl/unx/generic/gdi/gdiimpl.cxx +++ b/vcl/unx/generic/gdi/gdiimpl.cxx @@ -28,13 +28,12 @@ #include <vcl/gradient.hxx> #include "unx/salunx.h" -#include "unx/saldata.hxx" #include "unx/saldisp.hxx" #include "unx/salbmp.h" #include "unx/salgdi.h" -#include "unx/salframe.h" #include "unx/salvd.h" #include <unx/x11/xlimits.hxx> +#include "salframe.hxx" #include "xrender_peer.hxx" #include "outdata.hxx" diff --git a/vcl/unx/generic/gdi/salbmp.cxx b/vcl/unx/generic/gdi/salbmp.cxx index bcba7e6ee4ce..158a2f52d0fc 100644 --- a/vcl/unx/generic/gdi/salbmp.cxx +++ b/vcl/unx/generic/gdi/salbmp.cxx @@ -35,7 +35,6 @@ #include <com/sun/star/beans/XFastPropertySet.hpp> #include <unx/salunx.h> -#include <unx/saldata.hxx> #include <unx/saldisp.hxx> #include <unx/salgdi.h> #include <unx/salbmp.h> diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx index 72daa7165bc3..cfd8925681ca 100644 --- a/vcl/unx/generic/gdi/salgdi.cxx +++ b/vcl/unx/generic/gdi/salgdi.cxx @@ -43,13 +43,12 @@ #include <basegfx/curve/b2dcubicbezier.hxx> #include <vcl/jobdata.hxx> +#include <vcl/sysdata.hxx> #include <vcl/virdev.hxx> #include "unx/salunx.h" -#include "unx/saldata.hxx" #include "unx/saldisp.hxx" #include "unx/salgdi.h" -#include "unx/salframe.h" #include "unx/salvd.h" #include "unx/x11/x11gdiimpl.h" #include <unx/x11/xlimits.hxx> diff --git a/vcl/unx/generic/gdi/salgdi2.cxx b/vcl/unx/generic/gdi/salgdi2.cxx index 2080210c66a8..a600c31b5e0c 100644 --- a/vcl/unx/generic/gdi/salgdi2.cxx +++ b/vcl/unx/generic/gdi/salgdi2.cxx @@ -21,18 +21,18 @@ #include "salgdiimpl.hxx" #include <vcl/salbtype.hxx> +#include <vcl/sysdata.hxx> #include "unx/pixmap.hxx" #include "unx/salunx.h" -#include "unx/saldata.hxx" #include "unx/saldisp.hxx" #include "unx/salbmp.h" #include "unx/salgdi.h" -#include "unx/salframe.h" #include "unx/salvd.h" #include "unx/x11/x11gdiimpl.h" #include <unx/x11/xlimits.hxx> #include "xrender_peer.hxx" +#include "salframe.hxx" #include "unx/printergfx.hxx" diff --git a/vcl/unx/generic/gdi/salvd.cxx b/vcl/unx/generic/gdi/salvd.cxx index f4d8961c93a5..16d8d87ee715 100644 --- a/vcl/unx/generic/gdi/salvd.cxx +++ b/vcl/unx/generic/gdi/salvd.cxx @@ -23,10 +23,10 @@ #include <X11/Xutil.h> #include <X11/extensions/Xrender.h> -#include <unx/salunx.h> -#include <unx/saldata.hxx> #include <unx/saldisp.hxx> +#include <unx/salinst.h> #include <unx/salgdi.h> +#include <unx/salunx.h> #include <unx/salvd.h> #include <unx/x11/xlimits.hxx> diff --git a/vcl/unx/generic/gdi/x11cairotextrender.cxx b/vcl/unx/generic/gdi/x11cairotextrender.cxx index f25ed1fc92e9..612b921d3a75 100644 --- a/vcl/unx/generic/gdi/x11cairotextrender.cxx +++ b/vcl/unx/generic/gdi/x11cairotextrender.cxx @@ -18,7 +18,6 @@ */ #include "x11cairotextrender.hxx" -#include "unx/saldata.hxx" #include "unx/saldisp.hxx" #include "unx/salvd.h" diff --git a/vcl/unx/generic/gdi/x11cairotextrender.hxx b/vcl/unx/generic/gdi/x11cairotextrender.hxx index f614a4d743c1..5e2648b2c3cd 100644 --- a/vcl/unx/generic/gdi/x11cairotextrender.hxx +++ b/vcl/unx/generic/gdi/x11cairotextrender.hxx @@ -21,11 +21,9 @@ #define INCLUDED_VCL_UNX_GENERIC_GDI_X11CAIROTEXTRENDER_HXX #include "unx/cairotextrender.hxx" - -#include "unx/saldata.hxx" #include "unx/saldisp.hxx" - #include "unx/salgdi.h" +#include "salframe.hxx" class X11CairoTextRender : public CairoTextRender { diff --git a/vcl/unx/generic/gdi/xrender_peer.cxx b/vcl/unx/generic/gdi/xrender_peer.cxx index b29bc6697d7c..4104a5ad06b3 100644 --- a/vcl/unx/generic/gdi/xrender_peer.cxx +++ b/vcl/unx/generic/gdi/xrender_peer.cxx @@ -19,7 +19,6 @@ #include <rtl/ustring.hxx> #include <unx/salunx.h> -#include <unx/saldata.hxx> #include <unx/saldisp.hxx> #include <xrender_peer.hxx> diff --git a/vcl/unx/generic/printer/printerinfomanager.cxx b/vcl/unx/generic/printer/printerinfomanager.cxx index 2c39a87105a2..0111bcb1f62f 100644 --- a/vcl/unx/generic/printer/printerinfomanager.cxx +++ b/vcl/unx/generic/printer/printerinfomanager.cxx @@ -24,7 +24,7 @@ #include "unx/cupsmgr.hxx" #include <vcl/strhelper.hxx> -#include "unx/saldata.hxx" +#include "saldatabasic.hxx" #include "tools/urlobj.hxx" #include "tools/stream.hxx" diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 349d09f1b502..491d6295171a 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -44,7 +44,7 @@ #include <X11/extensions/shape.h> #include "unx/salunx.h" -#include "unx/saldata.hxx" +#include "saldatabasic.hxx" #include "unx/saldisp.hxx" #include "unx/salgdi.h" #include "unx/salframe.h" diff --git a/vcl/unx/generic/window/salobj.cxx b/vcl/unx/generic/window/salobj.cxx index 2c4d61a39cb4..80c0726214c9 100644 --- a/vcl/unx/generic/window/salobj.cxx +++ b/vcl/unx/generic/window/salobj.cxx @@ -31,7 +31,6 @@ #include <vcl/event.hxx> #include <unx/salunx.h> -#include <unx/saldata.hxx> #include <unx/salinst.h> #include <unx/saldisp.hxx> #include <unx/salframe.h> diff --git a/vcl/unx/gtk/salnativewidgets-gtk.cxx b/vcl/unx/gtk/salnativewidgets-gtk.cxx index c6b83804ab46..d096423d263b 100644 --- a/vcl/unx/gtk/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/salnativewidgets-gtk.cxx @@ -27,7 +27,7 @@ #include "unx/gtk/gtkgdi.hxx" #include "unx/pixmap.hxx" -#include "unx/saldata.hxx" +#include "saldatabasic.hxx" #include "unx/saldisp.hxx" #include <cstdio> diff --git a/vcl/unx/kde4/KDESalDisplay.cxx b/vcl/unx/kde4/KDESalDisplay.cxx index 105393fd9b54..7c30c7aa40c9 100644 --- a/vcl/unx/kde4/KDESalDisplay.cxx +++ b/vcl/unx/kde4/KDESalDisplay.cxx @@ -23,7 +23,6 @@ #include "VCLKDEApplication.hxx" #include <assert.h> -#include <unx/saldata.hxx> SalKDEDisplay* SalKDEDisplay::selfptr = nullptr; diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx index 0a7066f2f953..1c84e59d6694 100644 --- a/vcl/unx/kde4/KDESalGraphics.cxx +++ b/vcl/unx/kde4/KDESalGraphics.cxx @@ -34,7 +34,6 @@ #include <vcl/settings.hxx> #include <vcl/decoview.hxx> #include <rtl/ustrbuf.hxx> -#include <unx/saldata.hxx> /** Conversion function between VCL ControlState together with diff --git a/vcl/unx/x11/x11sys.cxx b/vcl/unx/x11/x11sys.cxx index 31fd0084abab..e4f4b2955726 100644 --- a/vcl/unx/x11/x11sys.cxx +++ b/vcl/unx/x11/x11sys.cxx @@ -18,7 +18,6 @@ */ #include <unx/salunx.h> -#include <unx/saldata.hxx> #include <unx/salinst.h> #include <unx/saldisp.hxx> #include <unx/x11/x11sys.hxx> |