summaryrefslogtreecommitdiffstats
path: root/vcl/generic
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-03-20 00:21:17 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-03-20 16:11:57 -0500
commit7154b092a716d4d0041a8a563294511ec9e5dbc6 (patch)
tree2e2cbbd319a3ee008b536f584bf7a160f0f8ee01 /vcl/generic
parentrename ImplDevFontList to PhysicalFontCollection (diff)
downloadcore-7154b092a716d4d0041a8a563294511ec9e5dbc6.tar.gz
core-7154b092a716d4d0041a8a563294511ec9e5dbc6.zip
cosmetic: split PhysicalFontFace class it its own source/header
oudev,2,3,4,5,6 are a dumping ground for a lot of things chipping at it one class at the time... organize the #include of the impacted source while at it. Change-Id: I57bbb1f9e3c6b2ac6b3ca127e5976bf16f3e3cf8
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/glyphs/gcach_ftyp.hxx1
-rw-r--r--vcl/generic/print/genpspgraphics.cxx40
2 files changed, 21 insertions, 20 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.hxx b/vcl/generic/glyphs/gcach_ftyp.hxx
index 6da2ce3b88d8..a0915ea72bdd 100644
--- a/vcl/generic/glyphs/gcach_ftyp.hxx
+++ b/vcl/generic/glyphs/gcach_ftyp.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_VCL_GENERIC_GLYPHS_GCACH_FTYP_HXX
#include "generic/glyphcache.hxx"
+#include "PhysicalFontFace.hxx"
#include <config_graphite.h>
#if ENABLE_GRAPHITE
diff --git a/vcl/generic/print/genpspgraphics.cxx b/vcl/generic/print/genpspgraphics.cxx
index a0ba001d1273..515dc0eee675 100644
--- a/vcl/generic/print/genpspgraphics.cxx
+++ b/vcl/generic/print/genpspgraphics.cxx
@@ -17,34 +17,37 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/types.h>
+
// for mmap etc.
#if defined( UNX )
-# include <stdlib.h>
-# include <unistd.h>
-# include <fcntl.h>
-# include <sys/mman.h>
-# include <sys/stat.h>
-# include <sys/types.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#endif
+#include <comphelper/string.hxx>
+#include <i18nlangtag/mslangid.hxx>
+#include <vcl/bmpacc.hxx>
+#include <vcl/jobdata.hxx>
+#include <vcl/printerinfomanager.hxx>
+#include <vcl/settings.hxx>
+#include <vcl/svapp.hxx>
+#include <vcl/sysdata.hxx>
+
+#include "fontsubset.hxx"
#include "generic/geninst.h"
#include "generic/genpspgraphics.h"
#include "generic/glyphcache.hxx"
-
-#include "vcl/jobdata.hxx"
-#include "vcl/printerinfomanager.hxx"
-#include "vcl/bmpacc.hxx"
-#include "vcl/svapp.hxx"
-#include "vcl/sysdata.hxx"
-#include "vcl/settings.hxx"
-
#include "generic/printergfx.hxx"
-#include "salbmp.hxx"
#include "impfont.hxx"
+#include "langboost.hxx"
#include "outfont.hxx"
-#include "fontsubset.hxx"
+#include "PhysicalFontFace.hxx"
+#include "salbmp.hxx"
#include "salprn.hxx"
-#include "langboost.hxx"
#include <config_graphite.h>
#if ENABLE_GRAPHITE
@@ -52,9 +55,6 @@
#include <graphite_serverfont.hxx>
#endif
-#include <comphelper/string.hxx>
-#include <i18nlangtag/mslangid.hxx>
-
using namespace psp;