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

Chris Sherlock chris.sherlock79 at gmail.com
Thu Apr 24 06:53:15 PDT 2014


 vcl/source/outdev/nativecontrols.cxx |   11 +++--
 vcl/source/outdev/pixel.cxx          |   23 ++----------
 vcl/source/outdev/polygon.cxx        |    2 -
 vcl/source/outdev/polyline.cxx       |    1 
 vcl/source/outdev/text.cxx           |   25 ++++---------
 vcl/source/outdev/textline.cxx       |   65 ++---------------------------------
 vcl/source/outdev/transparent.cxx    |   22 ++---------
 vcl/source/outdev/wallpaper.cxx      |   21 -----------
 8 files changed, 28 insertions(+), 142 deletions(-)

New commits:
commit af32c90a8fa8f338659267c0d0c5e9e2d0663a50
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Thu Apr 24 23:51:07 2014 +1000

    VCL: Remove unnecessary headers from outdev/transparent.cxx
    
    Change-Id: I0b3c6e4a1f75d2cb50ed35595dca65d8bb89996e

diff --git a/vcl/source/outdev/transparent.cxx b/vcl/source/outdev/transparent.cxx
index e035fa9..cf21e29 100644
--- a/vcl/source/outdev/transparent.cxx
+++ b/vcl/source/outdev/transparent.cxx
@@ -17,27 +17,15 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#include <tools/debug.hxx>
-#include <vcl/bitmap.hxx>
-#include <vcl/bitmapex.hxx>
-#include <vcl/window.hxx>
-#include <vcl/metaact.hxx>
-#include <vcl/gdimtf.hxx>
+
+#include <vcl/outdev.hxx>
 #include <vcl/virdev.hxx>
 #include <vcl/bmpacc.hxx>
-#include <vcl/outdev.hxx>
-#include <vcl/image.hxx>
-#include <bmpfast.hxx>
-#include <salbmp.hxx>
+
 #include <salgdi.hxx>
-#include <impbmp.hxx>
-#include <sallayout.hxx>
-#include <image.h>
-#include <outdev.h>
-#include <window.h>
-#include <outdata.hxx>
-#include <basegfx/matrix/b2dhommatrix.hxx>
+
 #include <basegfx/matrix/b2dhommatrixtools.hxx>
+
 #include <boost/scoped_array.hpp>
 
 
commit 1b10e8e735a07f90f5ce4c6fd964dd3ce9cf2ed4
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Thu Apr 24 23:44:58 2014 +1000

    VCL: Remove unnecessary headers from outdev/text.cxx
    
    Change-Id: I0a55fcad484c368634d8eb79d1a0fb440c6f635a

diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 86432cc..941e16e 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -19,36 +19,27 @@
 
 #include <sal/types.h>
 
-#include <algorithm>
-#include <cmath>
-#include <cstring>
-#include <memory>
-
 #include <basegfx/matrix/b2dhommatrix.hxx>
-#include <basegfx/polygon/b2dpolygon.hxx>
-#include <basegfx/polygon/b2dpolypolygon.hxx>
-#include <com/sun/star/beans/PropertyValues.hpp>
+
 #include <com/sun/star/i18n/WordType.hpp>
 #include <com/sun/star/i18n/XBreakIterator.hpp>
 #include <com/sun/star/linguistic2/LinguServiceManager.hpp>
+
 #include <comphelper/processfactory.hxx>
-#include <rtl/logfile.hxx>
-#include <tools/debug.hxx>
 
+#include <vcl/outdev.hxx>
 #include <vcl/virdev.hxx>
 #include <vcl/bmpacc.hxx>
-#include <vcl/outdev.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/sysdata.hxx>
 #include <vcl/unohelp.hxx>
 #include <vcl/controllayout.hxx>
 
-#include "outdata.hxx"
-#include "outdev.h"
-#include "salgdi.hxx"
-#include "sallayout.hxx"
-#include "svdata.hxx"
-#include "textlayout.hxx"
+#include <outdata.hxx>
+#include <outdev.h>
+#include <salgdi.hxx>
+#include <svdata.hxx>
+#include <textlayout.hxx>
 
 #include <config_graphite.h>
 #if ENABLE_GRAPHITE
commit 3a0d74e24fbaa78bde7a1b2fc0febbcb46e90e6a
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Thu Apr 24 23:37:39 2014 +1000

    VCL: Remove unnecessary headers from outdev/polyline.cxx
    
    Change-Id: I2439ad38dc531fb35167f6778312a244bb2fbb01

diff --git a/vcl/source/outdev/polyline.cxx b/vcl/source/outdev/polyline.cxx
index fe3e9cd..738de79 100644
--- a/vcl/source/outdev/polyline.cxx
+++ b/vcl/source/outdev/polyline.cxx
@@ -25,7 +25,6 @@
 
 #include <basegfx/matrix/b2dhommatrix.hxx>
 #include <basegfx/polygon/b2dpolygontools.hxx>
-#include <basegfx/polygon/b2dpolypolygontools.hxx>
 #include <basegfx/polygon/b2dlinegeometry.hxx>
 
 void OutputDevice::DrawPolyLine( const Polygon& rPoly )
commit 672ac7b619f2fc24245efc07662a368c3a28b4d7
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Thu Apr 24 23:36:06 2014 +1000

    VCL: Remove unnecessary headers from outdev/pixel.cxx
    
    Change-Id: Ibc307a74e93cd80c651d17e41a3828c06a58b160

diff --git a/vcl/source/outdev/pixel.cxx b/vcl/source/outdev/pixel.cxx
index 3375eb2..f2521d6 100644
--- a/vcl/source/outdev/pixel.cxx
+++ b/vcl/source/outdev/pixel.cxx
@@ -17,27 +17,14 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#include <tools/debug.hxx>
-#include <vcl/bitmap.hxx>
-#include <vcl/bitmapex.hxx>
-#include <vcl/window.hxx>
-#include <vcl/metaact.hxx>
-#include <vcl/gdimtf.hxx>
-#include <vcl/virdev.hxx>
-#include <vcl/bmpacc.hxx>
 #include <vcl/outdev.hxx>
-#include <vcl/image.hxx>
-#include <bmpfast.hxx>
-#include <salbmp.hxx>
+#include <vcl/virdev.hxx>
+#include <vcl/window.hxx>
+
 #include <salgdi.hxx>
-#include <impbmp.hxx>
-#include <sallayout.hxx>
-#include <image.h>
-#include <outdev.h>
-#include <window.h>
+
 #include <outdata.hxx>
-#include <basegfx/matrix/b2dhommatrix.hxx>
-#include <basegfx/matrix/b2dhommatrixtools.hxx>
+
 #include <boost/scoped_array.hpp>
 
 extern const sal_uLong nVCLRLut[ 6 ];
commit dd6641962d56c91dd6a1073a3c80ea85926211a5
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Thu Apr 24 23:32:16 2014 +1000

    VCL: Cleanup headers in outdev/nativecontrols.cxx
    
    Change-Id: I3dd371fee066eebe357379d6a3b3f6ebe1901471

diff --git a/vcl/source/outdev/nativecontrols.cxx b/vcl/source/outdev/nativecontrols.cxx
index b4f35a2..0c4db5b 100644
--- a/vcl/source/outdev/nativecontrols.cxx
+++ b/vcl/source/outdev/nativecontrols.cxx
@@ -17,12 +17,13 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#include "vcl/outdev.hxx"
-#include "vcl/window.hxx"
-#include "vcl/salnativewidgets.hxx"
-#include "vcl/pdfextoutdevdata.hxx"
+#include <vcl/outdev.hxx>
+#include <vcl/window.hxx>
 
-#include "salgdi.hxx"
+#include <vcl/salnativewidgets.hxx>
+#include <vcl/pdfextoutdevdata.hxx>
+
+#include <salgdi.hxx>
 
 static bool EnableNativeWidget( const OutputDevice& i_rDevice )
 {
commit e2fa1f587eb7efec5e2e936917b8b539cc313a49
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Thu Apr 24 23:30:02 2014 +1000

    VCL: Remove unnecessary headers from outdev/wallpaper.cxx
    
    Change-Id: I361074519a84c9c1497a4ce91df86842e69fc6b0

diff --git a/vcl/source/outdev/wallpaper.cxx b/vcl/source/outdev/wallpaper.cxx
index d59d9f4..c6624e9 100644
--- a/vcl/source/outdev/wallpaper.cxx
+++ b/vcl/source/outdev/wallpaper.cxx
@@ -17,31 +17,10 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#include <tools/debug.hxx>
 #include <vcl/outdev.hxx>
 #include <vcl/virdev.hxx>
-#include <vcl/bmpacc.hxx>
-#include <vcl/metaact.hxx>
-#include <vcl/gdimtf.hxx>
-#include <vcl/svapp.hxx>
-#include <vcl/wrkwin.hxx>
-#include <vcl/graph.hxx>
 
 #include <wall2.hxx>
-#include <salgdi.hxx>
-#include <window.h>
-#include <svdata.hxx>
-#include <outdev.h>
-
-#include <com/sun/star/uno/Sequence.hxx>
-
-#include <basegfx/vector/b2dvector.hxx>
-#include <basegfx/polygon/b2dpolypolygon.hxx>
-#include <basegfx/polygon/b2dpolygon.hxx>
-#include <basegfx/matrix/b2dhommatrix.hxx>
-
-#include <math.h>
-#include <boost/scoped_ptr.hpp>
 
 void OutputDevice::ImplDrawColorWallpaper( long nX, long nY,
                                            long nWidth, long nHeight,
commit 8cde6e40c5cbab8b5ef3a0afc2105a6a03d55780
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Thu Apr 24 23:26:19 2014 +1000

    VCL: Remove unnecessary headers from outdev/textline.cxx
    
    Change-Id: I533593d8e5dee52441e97d55a72685def7566320

diff --git a/vcl/source/outdev/textline.cxx b/vcl/source/outdev/textline.cxx
index ad173ad..5e07634 100644
--- a/vcl/source/outdev/textline.cxx
+++ b/vcl/source/outdev/textline.cxx
@@ -17,78 +17,21 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#include "i18nlangtag/mslangid.hxx"
-#include "i18nlangtag/languagetag.hxx"
-
-#include "rtl/tencinfo.h"
-#include "rtl/logfile.hxx"
-
-#include "tools/debug.hxx"
-#include "tools/poly.hxx"
-
-#include "basegfx/polygon/b2dpolygon.hxx"
-#include "basegfx/polygon/b2dpolypolygon.hxx"
-#include "basegfx/matrix/b2dhommatrix.hxx"
-
-#include "vcl/metric.hxx"
-#include "vcl/metaact.hxx"
-#include "vcl/gdimtf.hxx"
-#include "vcl/virdev.hxx"
-#include "vcl/print.hxx"
-#include "vcl/event.hxx"
-#include "vcl/window.hxx"
-#include "vcl/svapp.hxx"
-#include "vcl/bmpacc.hxx"
-#include "vcl/outdev.hxx"
-#include "vcl/edit.hxx"
+#include <vcl/outdev.hxx>
+#include <vcl/virdev.hxx>
 #include <vcl/settings.hxx>
-// declare system types in sysdata.hxx
-#include <svsys.h>
-#include "vcl/sysdata.hxx"
-#include "vcl/unohelp.hxx"
-#include "vcl/controllayout.hxx"
+
+#include <tools/helpers.hxx>
 
 #include "salgdi.hxx"
-#include "sallayout.hxx"
-#include "svdata.hxx"
 #include "impfont.hxx"
 #include "outdata.hxx"
-#include "outfont.hxx"
-#include "outdev.h"
-#include "PhysicalFontCollection.hxx"
-#include "PhysicalFontFace.hxx"
-#include "PhysicalFontFamily.hxx"
-
-#include "textlayout.hxx"
-#include "svids.hrc"
-#include "window.h"
-
-#include "unotools/fontcvt.hxx"
-#include "unotools/fontcfg.hxx"
-
-#include "osl/file.h"
 
 #include <config_graphite.h>
 #if ENABLE_GRAPHITE
 #include "graphite_features.hxx"
 #endif
 
-#include "../gdi/pdfwriter_impl.hxx"
-
-#include "com/sun/star/beans/PropertyValues.hpp"
-#include "com/sun/star/i18n/XBreakIterator.hpp"
-#include "com/sun/star/i18n/WordType.hpp"
-#include "com/sun/star/linguistic2/LinguServiceManager.hpp"
-#include <comphelper/processfactory.hxx>
-
-#include "sal/alloca.h"
-
-#include <cmath>
-#include <cstring>
-
-#include <memory>
-#include <algorithm>
-
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno;
 using namespace ::rtl;
commit 4a5ad94bd91f4ec1d2fd4b46eeabeba8aa393c3d
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Thu Apr 24 23:13:31 2014 +1000

    VCL: Remove unnecessary headers from outdev/polygon.cxx
    
    Change-Id: Ib8f72898bc9cc40a7a4fc1e509eb2f2e36e3d283

diff --git a/vcl/source/outdev/polygon.cxx b/vcl/source/outdev/polygon.cxx
index 722386a..40fc919 100644
--- a/vcl/source/outdev/polygon.cxx
+++ b/vcl/source/outdev/polygon.cxx
@@ -19,13 +19,11 @@
 
 #include <tools/poly.hxx>
 
-#include <vcl/hatch.hxx>
 #include <vcl/virdev.hxx>
 #include <vcl/outdev.hxx>
 
 #include "salgdi.hxx"
 
-#include <basegfx/vector/b2dvector.hxx>
 #include <basegfx/matrix/b2dhommatrix.hxx>
 #include <basegfx/polygon/b2dpolygontools.hxx>
 #include <basegfx/polygon/b2dpolypolygontools.hxx>


More information about the Libreoffice-commits mailing list