diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-03-19 16:44:12 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-03-20 11:34:18 +0100 |
commit | 52f8321c412cad280c9029f10f9aef03f4f20544 (patch) | |
tree | 9942cfe490f7107177ad69175be3039b0f20b32a /vcl/generic/glyphs/gcach_ftyp.cxx | |
parent | 151abb8b2b9d3a22229b98cec12e29484d12109b (diff) |
use #if instead of #ifdef for testing config_xxx.hxx macros
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html
Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
Diffstat (limited to 'vcl/generic/glyphs/gcach_ftyp.cxx')
-rw-r--r-- | vcl/generic/glyphs/gcach_ftyp.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx index aac80883830b..17e089ff6642 100644 --- a/vcl/generic/glyphs/gcach_ftyp.cxx +++ b/vcl/generic/glyphs/gcach_ftyp.cxx @@ -29,7 +29,7 @@ #include <outfont.hxx> #include <impfont.hxx> #include <config_graphite.h> -#ifdef ENABLE_GRAPHITE +#if ENABLE_GRAPHITE #include <graphite2/Font.h> #include <graphite_layout.hxx> #endif @@ -269,7 +269,7 @@ void FtFontFile::Unmap() mpFileMap = NULL; } -#ifdef ENABLE_GRAPHITE +#if ENABLE_GRAPHITE // wrap FtFontInfo's table function const void * graphiteFontTable(const void* appFaceHandle, unsigned int name, size_t *len) { @@ -307,7 +307,7 @@ FtFontInfo::FtFontInfo( const ImplDevFontAttributes& rDevFontAttributes, mnFaceNum( nFaceNum ), mnRefCount( 0 ), mnSynthetic( nSynthetic ), -#ifdef ENABLE_GRAPHITE +#if ENABLE_GRAPHITE mbCheckedGraphite(false), mpGraphiteFace(NULL), #endif @@ -336,7 +336,7 @@ FtFontInfo::~FtFontInfo() delete mpExtraKernInfo; delete mpChar2Glyph; delete mpGlyph2Char; -#ifdef ENABLE_GRAPHITE +#if ENABLE_GRAPHITE delete mpGraphiteFace; #endif } @@ -367,7 +367,7 @@ FT_FaceRec_* FtFontInfo::GetFaceFT() return maFaceFT; } -#ifdef ENABLE_GRAPHITE +#if ENABLE_GRAPHITE GraphiteFaceWrapper * FtFontInfo::GetGraphiteFace() { if (mbCheckedGraphite) @@ -2574,7 +2574,7 @@ const unsigned char* ServerFont::GetTable(const char* pName, sal_uLong* pLength) return mpFontInfo->GetTable( pName, pLength ); } -#ifdef ENABLE_GRAPHITE +#if ENABLE_GRAPHITE GraphiteFaceWrapper* ServerFont::GetGraphiteFace() const { return mpFontInfo->GetGraphiteFace(); |