summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersellland.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloatersellland.cpp')
-rw-r--r--indra/newview/llfloatersellland.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/indra/newview/llfloatersellland.cpp b/indra/newview/llfloatersellland.cpp
index ffa1e13bf2..f3d8996b6a 100644
--- a/indra/newview/llfloatersellland.cpp
+++ b/indra/newview/llfloatersellland.cpp
@@ -244,13 +244,7 @@ void LLFloaterSellLandUI::updateParcelInfo()
if(mSellToBuyer)
{
LLString name;
- char firstname[MAX_STRING]; /* Flawfinder: ignore */
- char lastname[MAX_STRING]; /* Flawfinder: ignore */
- gCacheName->getName(mAuthorizedBuyer, firstname, lastname);
- name.assign(firstname);
- name.append(" ");
- name.append(lastname);
-
+ gCacheName->getFullName(mAuthorizedBuyer, name);
childSetText("sell_to_agent", name);
}
}