From c83aa5ba6af31a46eaf2b605e469feeb8bc26871 Mon Sep 17 00:00:00 2001
From: Mike Antipov <mantipov@productengine.com>
Date: Mon, 30 Nov 2009 11:41:00 +0200
Subject: [PATCH] Fixed wrong type for getChild<LLTextBox>("user_name") to
 prevent WARNING logging.

--HG--
branch : product-engine
---
 indra/newview/llchathistory.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp
index caf9c080574..c4c046b3c45 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -302,7 +302,7 @@ class LLChatHistoryHeader: public LLPanel
 		time_box->translate(delta_pos_x, delta_pos_y);
 
 		//... & change width of the name control
-		LLTextBox* user_name = getChild<LLTextBox>("user_name");
+		LLView* user_name = getChild<LLView>("user_name");
 		const LLRect& user_rect = user_name->getRect();
 		user_name->reshape(user_rect.getWidth() + delta_pos_x, user_rect.getHeight());
 	}
-- 
GitLab