aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloateropenobject.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llfloateropenobject.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-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/llfloateropenobject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloateropenobject.cpp b/linden/indra/newview/llfloateropenobject.cpp
index 13230a9..753c254 100644
--- a/linden/indra/newview/llfloateropenobject.cpp
+++ b/linden/indra/newview/llfloateropenobject.cpp
@@ -57,7 +57,7 @@
57LLFloaterOpenObject* LLFloaterOpenObject::sInstance = NULL; 57LLFloaterOpenObject* LLFloaterOpenObject::sInstance = NULL;
58 58
59LLFloaterOpenObject::LLFloaterOpenObject() 59LLFloaterOpenObject::LLFloaterOpenObject()
60: LLFloater("object_contents"), 60: LLFloater(std::string("object_contents")),
61 mPanelInventory(NULL), 61 mPanelInventory(NULL),
62 mDirty(TRUE) 62 mDirty(TRUE)
63{ 63{
@@ -67,7 +67,7 @@ LLFloaterOpenObject::LLFloaterOpenObject()
67 67
68 childSetAction("copy_to_inventory_button", onClickMoveToInventory, this); 68 childSetAction("copy_to_inventory_button", onClickMoveToInventory, this);
69 childSetAction("copy_and_wear_button", onClickMoveAndWear, this); 69 childSetAction("copy_and_wear_button", onClickMoveAndWear, this);
70 childSetTextArg("object_name", "[DESC]", LLString("Object") ); // *Note: probably do not want to translate this 70 childSetTextArg("object_name", "[DESC]", std::string("Object") ); // *Note: probably do not want to translate this
71} 71}
72 72
73LLFloaterOpenObject::~LLFloaterOpenObject() 73LLFloaterOpenObject::~LLFloaterOpenObject()
@@ -215,6 +215,6 @@ void LLFloaterOpenObject::onClickMoveAndWear(void* data)
215void* LLFloaterOpenObject::createPanelInventory(void* data) 215void* LLFloaterOpenObject::createPanelInventory(void* data)
216{ 216{
217 LLFloaterOpenObject* floater = (LLFloaterOpenObject*)data; 217 LLFloaterOpenObject* floater = (LLFloaterOpenObject*)data;
218 floater->mPanelInventory = new LLPanelInventory("Object Contents", LLRect()); 218 floater->mPanelInventory = new LLPanelInventory(std::string("Object Contents"), LLRect());
219 return floater->mPanelInventory; 219 return floater->mPanelInventory;
220} 220}