Bug 448197: fix compilation error in gfxFontTest.cpp on AIX 5.1, patch by Uli LInk <ul.mcamafia@linkitup.de>, r=vlad, sr=roc, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@259917 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
432a3bc2d7
commit
97b246db8b
@ -1218,7 +1218,7 @@ public:
|
|||||||
mCharacterGlyphs[aCharIndex] = aGlyph;
|
mCharacterGlyphs[aCharIndex] = aGlyph;
|
||||||
}
|
}
|
||||||
if (mDetailedGlyphs) {
|
if (mDetailedGlyphs) {
|
||||||
mDetailedGlyphs[aCharIndex] = nsnull;
|
(mDetailedGlyphs.get())[aCharIndex] = nsnull;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void SetGlyphs(PRUint32 aCharIndex, CompressedGlyph aGlyph,
|
void SetGlyphs(PRUint32 aCharIndex, CompressedGlyph aGlyph,
|
||||||
@ -1238,7 +1238,7 @@ public:
|
|||||||
// and gfxFont::GetBoundingBox
|
// and gfxFont::GetBoundingBox
|
||||||
const CompressedGlyph *GetCharacterGlyphs() { return mCharacterGlyphs; }
|
const CompressedGlyph *GetCharacterGlyphs() { return mCharacterGlyphs; }
|
||||||
const DetailedGlyph *GetDetailedGlyphs(PRUint32 aCharIndex) {
|
const DetailedGlyph *GetDetailedGlyphs(PRUint32 aCharIndex) {
|
||||||
return mDetailedGlyphs ? mDetailedGlyphs[aCharIndex].get() : nsnull;
|
return mDetailedGlyphs ? (mDetailedGlyphs.get())[aCharIndex].get() : nsnull;
|
||||||
}
|
}
|
||||||
PRBool HasDetailedGlyphs() { return mDetailedGlyphs.get() != nsnull; }
|
PRBool HasDetailedGlyphs() { return mDetailedGlyphs.get() != nsnull; }
|
||||||
PRUint32 CountMissingGlyphs();
|
PRUint32 CountMissingGlyphs();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user