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

Chris Sherlock chris.sherlock79 at gmail.com
Mon Jan 25 06:32:44 PST 2016


 vcl/source/outdev/font.cxx |   27 ++-------------------------
 1 file changed, 2 insertions(+), 25 deletions(-)

New commits:
commit 7ef79ef4297ebb2dc267e211e186508187fecf47
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Tue Jan 26 01:31:46 2016 +1100

    vcl: cleanup namespace and header includes in font.cxx
    
    Change-Id: I17a2bf413d5152765821585fabf2123a08b729ca

diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index a425f1e..c9c8d37 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -17,32 +17,22 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#include "i18nlangtag/mslangid.hxx"
+#include <i18nlangtag/mslangid.hxx>
 
 #include <unotools/configmgr.hxx>
 #include <vcl/virdev.hxx>
 #include <vcl/print.hxx>
-#include <vcl/outdev.hxx>
-#include <vcl/edit.hxx>
-#include <vcl/settings.hxx>
 #include <vcl/sysdata.hxx>
 #include <vcl/fontcharmap.hxx>
 
 #include "sallayout.hxx"
+#include "salgdi.hxx"
 #include "svdata.hxx"
 
-#include "impfont.hxx"
-#include "outdata.hxx"
-#include "fontinstance.hxx"
-#include "fontattributes.hxx"
-#include "impfontmetricdata.hxx"
-
 #include "outdev.h"
 #include "window.h"
 
 #include "PhysicalFontCollection.hxx"
-#include "PhysicalFontFace.hxx"
-#include "PhysicalFontFamily.hxx"
 
 #include "svids.hrc"
 
@@ -51,19 +41,6 @@
 #include "graphite_features.hxx"
 #endif
 
-#include "../gdi/pdfwriter_impl.hxx"
-
-#include <boost/functional/hash.hpp>
-#include <cmath>
-#include <cstring>
-#include <memory>
-#include <algorithm>
-
-using namespace ::com::sun::star;
-using namespace ::com::sun::star::uno;
-using namespace ::rtl;
-using namespace ::utl;
-
 FontMetric OutputDevice::GetDevFont( int nDevFontIndex ) const
 {
     FontMetric aFontMetric;


More information about the Libreoffice-commits mailing list