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

Chris Sherlock chris.sherlock79 at gmail.com
Mon Jan 25 04:48:03 PST 2016


 vcl/source/font/fontselect.cxx |   39 ---------------------------------------
 1 file changed, 39 deletions(-)

New commits:
commit be956dc3c7375103edf8f027ad3178d9beedab68
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Mon Jan 25 23:46:58 2016 +1100

    vcl: remove a hell of a lot of unneeded headers from fontselect.hxx
    
    Change-Id: Iafcaec4b1bda42b286f138014531541d71b2310c

diff --git a/vcl/source/font/fontselect.cxx b/vcl/source/font/fontselect.cxx
index 6f5f42b..c6351bb 100644
--- a/vcl/source/font/fontselect.cxx
+++ b/vcl/source/font/fontselect.cxx
@@ -17,52 +17,13 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#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 "svdata.hxx"
 
-#include "impfont.hxx"
-#include "outdata.hxx"
-#include "fontinstance.hxx"
-#include "fontattributes.hxx"
-
-#include "outdev.h"
-#include "window.h"
-
-#include "PhysicalFontCollection.hxx"
-#include "PhysicalFontFace.hxx"
-#include "PhysicalFontFamily.hxx"
-
-#include "svids.hrc"
-
 #include <config_graphite.h>
 #if ENABLE_GRAPHITE
 #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;
-
 FontSelectPattern::FontSelectPattern( const vcl::Font& rFont,
     const OUString& rSearchName, const Size& rSize, float fExactHeight)
     : FontSelectPatternAttributes(rFont, rSearchName, rSize, fExactHeight)


More information about the Libreoffice-commits mailing list