summaryrefslogtreecommitdiff
path: root/indra/newview/llagentui.cpp
diff options
context:
space:
mode:
authorTofu Buzzard <no-email>2010-10-15 09:52:11 +0100
committerTofu Buzzard <no-email>2010-10-15 09:52:11 +0100
commitad033a4b35387a343f2204cda64ecb590888b60e (patch)
tree6b2191d8e082bc84e28b2bbaa4dcea95cf68a797 /indra/newview/llagentui.cpp
parent393c819477b268aa0a05ec0a006e1dba27d6e6c6 (diff)
parent508686047d5e98934d5fefbb576e54f108df6fe3 (diff)
sync up to viewer-developer
Diffstat (limited to 'indra/newview/llagentui.cpp')
-rw-r--r--indra/newview/llagentui.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/indra/newview/llagentui.cpp b/indra/newview/llagentui.cpp
index f52f136118..b9ec304b7e 100644
--- a/indra/newview/llagentui.cpp
+++ b/indra/newview/llagentui.cpp
@@ -40,29 +40,6 @@
#include "llslurl.h"
//static
-void LLAgentUI::buildName(std::string& name)
-{
- name.clear();
- if (isAgentAvatarValid())
- {
- LLNameValue *first_nv = gAgentAvatarp->getNVPair("FirstName");
- LLNameValue *last_nv = gAgentAvatarp->getNVPair("LastName");
- if (first_nv && last_nv)
- {
- name = first_nv->printData() + " " + last_nv->printData();
- }
- else
- {
- llwarns << "Agent is missing FirstName and/or LastName nv pair." << llendl;
- }
- }
- else
- {
- name = gSavedSettings.getString("FirstName") + " " + gSavedSettings.getString("LastName");
- }
-}
-
-//static
void LLAgentUI::buildFullname(std::string& name)
{
if (isAgentAvatarValid())