Fix HP bustage -- can't static_cast to an incomplete class.
git-svn-id: svn://10.0.0.236/trunk@104209 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -865,7 +865,7 @@ nsSystemFontsGTK::GetSystemFontInfo(GdkFont* iFont, nsFont* aFont, float aPixels
|
||||
NS_ASSERTION(theFont->type == GDK_FONT_FONTSET,
|
||||
"theFont->type can only have two values");
|
||||
|
||||
XFontSet fontSet = NS_STATIC_CAST(XFontSet, GDK_FONT_XFONT(theFont));
|
||||
XFontSet fontSet = NS_REINTERPRET_CAST(XFontSet, GDK_FONT_XFONT(theFont));
|
||||
XFontStruct **fontStructs;
|
||||
char **fontNames;
|
||||
int numFonts = ::XFontsOfFontSet(fontSet, &fontStructs, &fontNames);
|
||||
|
||||
Reference in New Issue
Block a user