summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterbuycontents.cpp
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2008-02-19 21:42:32 +0000
committerSteven Bennetts <steve@lindenlab.com>2008-02-19 21:42:32 +0000
commit2e32d44e7165775936beae5d9ef636ff9d3f2bd2 (patch)
tree8153bc399994aabf6e1c41c2d8332e4e8c4ddb78 /indra/newview/llfloaterbuycontents.cpp
parentdb0f5847ea8b96b3c1ac08e7aeb43d83daacb8e4 (diff)
merge svn+ssh://svn.lindenlab.com/svn/linden/qa/combo-merge-ui-2008-02-13 -r 79986 : 80178 -> release.
QAR-290 = QAR-271 + QAR-191
Diffstat (limited to 'indra/newview/llfloaterbuycontents.cpp')
-rw-r--r--indra/newview/llfloaterbuycontents.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/indra/newview/llfloaterbuycontents.cpp b/indra/newview/llfloaterbuycontents.cpp
index 38266797cf..b133a1e88b 100644
--- a/indra/newview/llfloaterbuycontents.cpp
+++ b/indra/newview/llfloaterbuycontents.cpp
@@ -124,9 +124,7 @@ void LLFloaterBuyContents::show(const LLSaleInfo& sale_info)
if (!node) return;
if(node->mPermissions->isGroupOwned())
{
- char group_name[MAX_STRING]; /*Flawfinder: ignore*/
- gCacheName->getGroupName(owner_id, group_name);
- owner_name.assign(group_name);
+ gCacheName->getGroupName(owner_id, owner_name);
}
sInstance->childSetTextArg("contains_text", "[NAME]", node->mName);
@@ -240,15 +238,15 @@ void LLFloaterBuyContents::inventoryChanged(LLViewerObject* obj,
if (!(next_owner_mask & PERM_COPY))
{
- text.append(childGetText("no_copy_text"));
+ text.append(getString("no_copy_text"));
}
if (!(next_owner_mask & PERM_MODIFY))
{
- text.append(childGetText("no_modify_text"));
+ text.append(getString("no_modify_text"));
}
if (!(next_owner_mask & PERM_TRANSFER))
{
- text.append(childGetText("no_transfer_text"));
+ text.append(getString("no_transfer_text"));
}
row["columns"][1]["column"] = "text";