[Libreoffice-commits] core.git: 2 commits - vcl/source

Chris Sherlock chris.sherlock79 at gmail.com
Mon Jan 25 06:22:42 PST 2016


 vcl/source/outdev/outdev.cxx      |   50 +++-----------------------------------
 vcl/source/outdev/outdevstate.cxx |   15 -----------
 2 files changed, 6 insertions(+), 59 deletions(-)

New commits:
commit aee5d4e41156cc2b0b56e370ee51fa5b1d285522
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Tue Jan 26 01:21:41 2016 +1100

    vcl: remove unnecessary headers from outdev.cxx
    
    Change-Id: I8714718830f8b86567ef2750373ce2dab828c07f

diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index 26346ed..eb118de 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -17,58 +17,18 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#include <tools/debug.hxx>
-#include <tools/poly.hxx>
-
-#include <vcl/svapp.hxx>
-#include <vcl/ctrl.hxx>
-#include <vcl/region.hxx>
 #include <vcl/virdev.hxx>
-#include <vcl/window.hxx>
-#include <vcl/metaact.hxx>
-#include <vcl/gdimtf.hxx>
-#include <vcl/print.hxx>
 #include <vcl/outdev.hxx>
 #include <vcl/unowrap.hxx>
-#include <vcl/settings.hxx>
 #include <vcl/sysdata.hxx>
 
-#include <vcl/outdevstate.hxx>
-
-#include <salgdi.hxx>
-#include <sallayout.hxx>
-#include <salframe.hxx>
-#include <salvd.hxx>
-#include <salprn.hxx>
-#include <svdata.hxx>
-#include <window.h>
-#include <outdev.h>
-#include <outdata.hxx>
-#include <outdevstatestack.hxx>
-
+#include "salgdi.hxx"
+#include "svdata.hxx"
+#include "window.h"
+#include "outdev.h"
+#include "outdevstatestack.hxx"
 #include "PhysicalFontCollection.hxx"
 
-#include <basegfx/point/b2dpoint.hxx>
-#include <basegfx/vector/b2dvector.hxx>
-#include <basegfx/polygon/b2dpolygon.hxx>
-#include <basegfx/polygon/b2dpolypolygon.hxx>
-#include <basegfx/matrix/b2dhommatrix.hxx>
-#include <basegfx/polygon/b2dpolygontools.hxx>
-#include <basegfx/polygon/b2dpolypolygontools.hxx>
-#include <basegfx/polygon/b2dlinegeometry.hxx>
-
-#include <com/sun/star/awt/XGraphics.hpp>
-#include <com/sun/star/uno/Sequence.hxx>
-#include <com/sun/star/rendering/XCanvas.hpp>
-#include <com/sun/star/rendering/CanvasFactory.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <comphelper/processfactory.hxx>
-
-#include <config_cairo_canvas.h>
-
-#include <numeric>
-#include <stack>
-
 #ifdef DISABLE_DYNLOADING
 // Linking all needed LO code into one .so/executable, these already
 // exist in the tools library, so put them in the anonymous namespace
commit 209acc934a65ff4eae6b8e4bad0474d751ada94f
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Tue Jan 26 01:12:42 2016 +1100

    vcl: remove unnecessary headers from outdevstate.cxx
    
    Change-Id: I19d8ea633d5fd5462af29a43b916518a31a94787

diff --git a/vcl/source/outdev/outdevstate.cxx b/vcl/source/outdev/outdevstate.cxx
index 354d6d0..4a0f485 100644
--- a/vcl/source/outdev/outdevstate.cxx
+++ b/vcl/source/outdev/outdevstate.cxx
@@ -18,26 +18,13 @@
  */
 
 #include <vcl/outdevstate.hxx>
-
-#include <vcl/outdev.hxx>
 #include <vcl/virdev.hxx>
-
 #include <vcl/settings.hxx>
 
-#include <vcl/mapmod.hxx>
-#include <vcl/region.hxx>
-#include <vcl/font.hxx>
-#include <vcl/vclenum.hxx>
-
-#include <tools/gen.hxx>
-#include <tools/color.hxx>
-#include <tools/fontenum.hxx>
-
 #include "outdev.h"
 #include "outdata.hxx"
-#include <outdevstatestack.hxx>
+#include "outdevstatestack.hxx"
 #include "salgdi.hxx"
-#include "sallayout.hxx"
 
 OutDevState::OutDevState()
     : mpMapMode(nullptr)


More information about the Libreoffice-commits mailing list