diff options
| author | Kelly Washington <kelly@lindenlab.com> | 2011-03-31 14:07:54 -0700 |
|---|---|---|
| committer | Kelly Washington <kelly@lindenlab.com> | 2011-03-31 14:07:54 -0700 |
| commit | 0080ed8e2914fba475b224344d8e4233e8fa48e2 (patch) | |
| tree | c316dd991d5b54a19594639686215230a89736b4 /indra/newview/llagentui.cpp | |
| parent | 0b44850c6f1057cd095ed9fe68f9285e546c662e (diff) | |
| parent | 5c3ae68299f79f3a705fa4b3e9cd262b56695318 (diff) | |
Merge
Diffstat (limited to 'indra/newview/llagentui.cpp')
| -rw-r--r-- | indra/newview/llagentui.cpp | 23 |
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()) |
