The GetFont method of nsIFontMetrics takes a const pointer reference

as argument, so we must pass a const pointer reference to it.
This commit is contained in:
wtc%netscape.com 1998-12-03 06:29:56 +00:00
Родитель 1620a04ec8
Коммит 29c86a6abf
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -903,7 +903,7 @@ nsRenderingContextGTK::DrawString(const char *aString, PRUint32 aLength,
if (mFontMetrics)
{
nsFont *font;
const nsFont *font;
mFontMetrics->GetFont(font);
PRUint8 deco = font->decorations;