From 52f8321c412cad280c9029f10f9aef03f4f20544 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Tue, 19 Mar 2013 16:44:12 +0100 Subject: use #if instead of #ifdef for testing config_xxx.hxx macros http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3 --- vcl/generic/glyphs/gcach_ftyp.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'vcl/generic/glyphs/gcach_ftyp.cxx') 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 #include #include -#ifdef ENABLE_GRAPHITE +#if ENABLE_GRAPHITE #include #include #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(); -- cgit