diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llfloaterbuycontents.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterbuycontents.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloaterbuycontents.cpp b/linden/indra/newview/llfloaterbuycontents.cpp index 8b2a031..e3b6b9f 100644 --- a/linden/indra/newview/llfloaterbuycontents.cpp +++ b/linden/indra/newview/llfloaterbuycontents.cpp | |||
@@ -56,7 +56,7 @@ | |||
56 | LLFloaterBuyContents* LLFloaterBuyContents::sInstance = NULL; | 56 | LLFloaterBuyContents* LLFloaterBuyContents::sInstance = NULL; |
57 | 57 | ||
58 | LLFloaterBuyContents::LLFloaterBuyContents() | 58 | LLFloaterBuyContents::LLFloaterBuyContents() |
59 | : LLFloater("floater_buy_contents", "FloaterBuyContentsRect", "") | 59 | : LLFloater(std::string("floater_buy_contents"), std::string("FloaterBuyContentsRect"), LLStringUtil::null) |
60 | { | 60 | { |
61 | LLUICtrlFactory::getInstance()->buildFloater(this, "floater_buy_contents.xml"); | 61 | LLUICtrlFactory::getInstance()->buildFloater(this, "floater_buy_contents.xml"); |
62 | 62 | ||
@@ -109,7 +109,7 @@ void LLFloaterBuyContents::show(const LLSaleInfo& sale_info) | |||
109 | sInstance->center(); | 109 | sInstance->center(); |
110 | 110 | ||
111 | LLUUID owner_id; | 111 | LLUUID owner_id; |
112 | LLString owner_name; | 112 | std::string owner_name; |
113 | BOOL owners_identical = LLSelectMgr::getInstance()->selectGetOwner(owner_id, owner_name); | 113 | BOOL owners_identical = LLSelectMgr::getInstance()->selectGetOwner(owner_id, owner_name); |
114 | if (!owners_identical) | 114 | if (!owners_identical) |
115 | { | 115 | { |
@@ -223,7 +223,7 @@ void LLFloaterBuyContents::inventoryChanged(LLViewerObject* obj, | |||
223 | item_is_multi = TRUE; | 223 | item_is_multi = TRUE; |
224 | } | 224 | } |
225 | 225 | ||
226 | LLString icon_name = get_item_icon_name(inv_item->getType(), | 226 | std::string icon_name = get_item_icon_name(inv_item->getType(), |
227 | inv_item->getInventoryType(), | 227 | inv_item->getInventoryType(), |
228 | inv_item->getFlags(), | 228 | inv_item->getFlags(), |
229 | item_is_multi); | 229 | item_is_multi); |
@@ -234,7 +234,7 @@ void LLFloaterBuyContents::inventoryChanged(LLViewerObject* obj, | |||
234 | // Append the permissions that you will acquire (not the current | 234 | // Append the permissions that you will acquire (not the current |
235 | // permissions). | 235 | // permissions). |
236 | U32 next_owner_mask = inv_item->getPermissions().getMaskNextOwner(); | 236 | U32 next_owner_mask = inv_item->getPermissions().getMaskNextOwner(); |
237 | LLString text = (*it)->getName(); | 237 | std::string text = (*it)->getName(); |
238 | 238 | ||
239 | if (!(next_owner_mask & PERM_COPY)) | 239 | if (!(next_owner_mask & PERM_COPY)) |
240 | { | 240 | { |