diff options
author | Richard Nelson <none@none> | 2010-08-16 15:00:51 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-08-16 15:00:51 -0700 |
commit | c20bd2dfee1068d5a23eef9a10d21c2035c0b324 (patch) | |
tree | f6ff89910ea6ee51ff654e1f604476100c9ceedd /indra/newview/llchathistory.cpp | |
parent | 94e406157d0b133d51b5dbb95aab296b46eae10e (diff) |
cleaned up LLUICtrlFactory...
removed redundant functionality
moved buildPanel to LLPanel
Diffstat (limited to 'indra/newview/llchathistory.cpp')
-rw-r--r-- | indra/newview/llchathistory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index 7204e6c39c..b6788b7739 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -107,7 +107,7 @@ public: static LLChatHistoryHeader* createInstance(const std::string& file_name) { LLChatHistoryHeader* pInstance = new LLChatHistoryHeader; - LLUICtrlFactory::getInstance()->buildPanel(pInstance, file_name); + buildPanel(pInstance, file_name); return pInstance; } @@ -402,7 +402,7 @@ protected: return; } - LLTextBase* name = getChild<LLTextBase>("user_name"); + LLTextBox* name = getChild<LLTextBox>("user_name"); LLRect sticky_rect = name->getRect(); S32 icon_x = llmin(sticky_rect.mLeft + name->getTextBoundingRect().getWidth() + 7, sticky_rect.mRight - 3); sInfoCtrl->setOrigin(icon_x, sticky_rect.getCenterY() - sInfoCtrl->getRect().getHeight() / 2 ) ; |