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/llfloaterinspect.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 'linden/indra/newview/llfloaterinspect.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterinspect.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloaterinspect.cpp b/linden/indra/newview/llfloaterinspect.cpp index ff0a2ee..d308210 100644 --- a/linden/indra/newview/llfloaterinspect.cpp +++ b/linden/indra/newview/llfloaterinspect.cpp | |||
@@ -45,7 +45,7 @@ | |||
45 | LLFloaterInspect* LLFloaterInspect::sInstance = NULL; | 45 | LLFloaterInspect* LLFloaterInspect::sInstance = NULL; |
46 | 46 | ||
47 | LLFloaterInspect::LLFloaterInspect(void) : | 47 | LLFloaterInspect::LLFloaterInspect(void) : |
48 | LLFloater("Inspect Object"), | 48 | LLFloater(std::string("Inspect Object")), |
49 | mDirty(FALSE) | 49 | mDirty(FALSE) |
50 | { | 50 | { |
51 | sInstance = this; | 51 | sInstance = this; |
@@ -188,7 +188,7 @@ LLUUID LLFloaterInspect::getSelectedUUID() | |||
188 | void LLFloaterInspect::refresh() | 188 | void LLFloaterInspect::refresh() |
189 | { | 189 | { |
190 | LLUUID creator_id; | 190 | LLUUID creator_id; |
191 | LLString creator_name; | 191 | std::string creator_name; |
192 | S32 pos = mObjectList->getScrollPos(); | 192 | S32 pos = mObjectList->getScrollPos(); |
193 | childSetEnabled("button owner", false); | 193 | childSetEnabled("button owner", false); |
194 | childSetEnabled("button creator", false); | 194 | childSetEnabled("button creator", false); |
@@ -214,7 +214,7 @@ void LLFloaterInspect::refresh() | |||
214 | char time[MAX_STRING]; | 214 | char time[MAX_STRING]; |
215 | std::string owner_name, creator_name; | 215 | std::string owner_name, creator_name; |
216 | time_t timestamp = (time_t) (obj->mCreationDate/1000000); | 216 | time_t timestamp = (time_t) (obj->mCreationDate/1000000); |
217 | LLString::copy(time, ctime(×tamp), MAX_STRING); | 217 | LLStringUtil::copy(time, ctime(×tamp), MAX_STRING); |
218 | time[24] = '\0'; | 218 | time[24] = '\0'; |
219 | gCacheName->getFullName(obj->mPermissions->getOwner(), owner_name); | 219 | gCacheName->getFullName(obj->mPermissions->getOwner(), owner_name); |
220 | gCacheName->getFullName(obj->mPermissions->getCreator(), creator_name); | 220 | gCacheName->getFullName(obj->mPermissions->getCreator(), creator_name); |
@@ -225,7 +225,7 @@ void LLFloaterInspect::refresh() | |||
225 | // or top of the editable chain, for attachments | 225 | // or top of the editable chain, for attachments |
226 | if(!(obj->getObject()->isRoot() || obj->getObject()->isRootEdit())) | 226 | if(!(obj->getObject()->isRoot() || obj->getObject()->isRootEdit())) |
227 | { | 227 | { |
228 | row["columns"][0]["value"] = LLString(" ") + obj->mName; | 228 | row["columns"][0]["value"] = std::string(" ") + obj->mName; |
229 | } | 229 | } |
230 | else | 230 | else |
231 | { | 231 | { |