summaryrefslogtreecommitdiff
path: root/indra/newview/llsky.h
diff options
context:
space:
mode:
authorMonroe Linden <monroe@lindenlab.com>2010-02-01 17:51:30 -0800
committerMonroe Linden <monroe@lindenlab.com>2010-02-01 17:51:30 -0800
commit4ad357ec70e15afdfe78816990cb23c7ba17619c (patch)
tree30b9b053dc309b69835c6f496f54df1fff59ab83 /indra/newview/llsky.h
parentaeaaf90fd7e36432428df9a6bcda6eb51a5cf0b1 (diff)
Fixes for EXT-4689 (Long-word chat spam cripples fps and/or disconnects client)
Removed some unnecessary string copies in LLTextBase and LLNormalTextSegment by changing getWText() to return const LLWString& (instead of LLWString), and storing the result in a const LLWString& instead of an LLWString in places where the string doesn't need to be modified. Made LLTextViewModel::getDisplay() also return const LLWString& instead of LLWString. Removed a couple of unused local string variables in LLTextBase (the compiler flagged these after converting the local copies to const LLWString&).
Diffstat (limited to 'indra/newview/llsky.h')
0 files changed, 0 insertions, 0 deletions