aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterproperties.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/llfloaterproperties.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 'linden/indra/newview/llfloaterproperties.cpp')
-rw-r--r--linden/indra/newview/llfloaterproperties.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloaterproperties.cpp b/linden/indra/newview/llfloaterproperties.cpp
index 48232cb..e15d4db 100644
--- a/linden/indra/newview/llfloaterproperties.cpp
+++ b/linden/indra/newview/llfloaterproperties.cpp
@@ -346,7 +346,7 @@ void LLFloaterProperties::refreshFromItem(LLInventoryItem* item)
346 //////////////// 346 ////////////////
347 if(perm.isOwned()) 347 if(perm.isOwned())
348 { 348 {
349 LLString name; 349 std::string name;
350 if (perm.isGroupOwned()) 350 if (perm.isGroupOwned())
351 { 351 {
352 gCacheName->getGroupName(perm.getGroup(), name); 352 gCacheName->getGroupName(perm.getGroup(), name);
@@ -373,14 +373,14 @@ void LLFloaterProperties::refreshFromItem(LLInventoryItem* item)
373 ////////////////// 373 //////////////////
374 374
375 // *TODO: Localize / translate this 375 // *TODO: Localize / translate this
376 time_t time_utc = (time_t)item->getCreationDate(); 376 time_t time_utc = item->getCreationDate();
377 if (0 == time_utc) 377 if (0 == time_utc)
378 { 378 {
379 childSetText("LabelAcquiredDate",getString("unknown")); 379 childSetText("LabelAcquiredDate",getString("unknown"));
380 } 380 }
381 else 381 else
382 { 382 {
383 childSetText("LabelAcquiredDate", LLString(ctime(&time_utc)) ); 383 childSetText("LabelAcquiredDate", std::string(ctime(&time_utc)) );
384 } 384 }
385 385
386 /////////////////////// 386 ///////////////////////
@@ -942,7 +942,7 @@ void LLFloaterProperties::closeByID(const LLUUID& item_id, const LLUUID &object_
942/// LLMultiProperties 942/// LLMultiProperties
943///---------------------------------------------------------------------------- 943///----------------------------------------------------------------------------
944 944
945LLMultiProperties::LLMultiProperties(const LLRect &rect) : LLMultiFloater("Properties", rect) 945LLMultiProperties::LLMultiProperties(const LLRect &rect) : LLMultiFloater(std::string("Properties"), rect)
946{ 946{
947} 947}
948 948