Checker: FORWARD_NULL
Function: LLFloaterVoiceEffect::refreshEffectList()
File: /indra/newview/llfloatervoiceeffect.cpp
master
Tofu Linden 2010-07-05 12:00:02 +01:00
parent 014c2a5089
commit 2888e446a7
1 changed files with 6 additions and 1 deletions

View File

@ -199,7 +199,12 @@ void LLFloaterVoiceEffect::refreshEffectList()
if(sl_item)
{
LLFontGL::StyleFlags style = is_template_only ? LLFontGL::NORMAL : LLFontGL::BOLD;
dynamic_cast<LLScrollListText*>(sl_item->getColumn(0))->setFontStyle(style);
LLScrollListText slt = dynamic_cast<LLScrollListText*>(sl_item->getColumn(0));
llassert(slt);
if (slt)
{
slt->setFontStyle(style);
}
}
}
}