Frosting touchups

Cleaned up flaws in LLUUID
- Removed deprecated LLUUID::toString(char*) and LLUUID::toCompressedString(char*)
Cleaned up some comments
This commit is contained in:
Lirusaito
2013-05-11 23:14:16 -04:00
parent 9b5360a40b
commit 417dcb4e49
7 changed files with 11 additions and 44 deletions

View File

@@ -3247,10 +3247,7 @@ class LLAvatarCopyUUID : public view_listener_t
LLVOAvatar* avatar = find_avatar_from_object( LLSelectMgr::getInstance()->getSelection()->getPrimaryObject() );
if(!avatar) return true;
LLUUID uuid = avatar->getID();
char buffer[UUID_STR_LENGTH]; /*Flawfinder: ignore*/
uuid.toString(buffer);
gViewerWindow->mWindow->copyTextToClipboard(utf8str_to_wstring(buffer));
gViewerWindow->mWindow->copyTextToClipboard(utf8str_to_wstring(avatar->getID().asString()));
return true;
}
};