From 97b246db8bf15560bf2ce660040ef5f57fd0bc1d Mon Sep 17 00:00:00 2001 From: "gavin%gavinsharp.com" Date: Mon, 8 Mar 2010 19:17:01 +0000 Subject: [PATCH] Bug 448197: fix compilation error in gfxFontTest.cpp on AIX 5.1, patch by Uli LInk , r=vlad, sr=roc, a=beltzner git-svn-id: svn://10.0.0.236/trunk@259917 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/thebes/public/gfxFont.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/gfx/thebes/public/gfxFont.h b/mozilla/gfx/thebes/public/gfxFont.h index 86344d7e595..f683fc57bad 100644 --- a/mozilla/gfx/thebes/public/gfxFont.h +++ b/mozilla/gfx/thebes/public/gfxFont.h @@ -1218,7 +1218,7 @@ public: mCharacterGlyphs[aCharIndex] = aGlyph; } if (mDetailedGlyphs) { - mDetailedGlyphs[aCharIndex] = nsnull; + (mDetailedGlyphs.get())[aCharIndex] = nsnull; } } void SetGlyphs(PRUint32 aCharIndex, CompressedGlyph aGlyph, @@ -1238,7 +1238,7 @@ public: // and gfxFont::GetBoundingBox const CompressedGlyph *GetCharacterGlyphs() { return mCharacterGlyphs; } const DetailedGlyph *GetDetailedGlyphs(PRUint32 aCharIndex) { - return mDetailedGlyphs ? mDetailedGlyphs[aCharIndex].get() : nsnull; + return mDetailedGlyphs ? (mDetailedGlyphs.get())[aCharIndex].get() : nsnull; } PRBool HasDetailedGlyphs() { return mDetailedGlyphs.get() != nsnull; } PRUint32 CountMissingGlyphs();