diff options
author | Richard Linden <none@none> | 2012-04-23 18:48:43 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2012-04-23 18:48:43 -0700 |
commit | 4472354b5454f758c467bb23190d1a84cf61d909 (patch) | |
tree | 926cc7d341e21d83c13ee37402cbffa94efa581c /indra/llui/llviewmodel.h | |
parent | 5ef21ba6c5b0d6c8b5f201c7d2bede983504383c (diff) |
SEC-995 FIX viewer is easily spammed to death by chat
removed unnecessary string copies from chat message handling
Diffstat (limited to 'indra/llui/llviewmodel.h')
-rw-r--r-- | indra/llui/llviewmodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/llviewmodel.h b/indra/llui/llviewmodel.h index 763af5d8a2..ef2e314799 100644 --- a/indra/llui/llviewmodel.h +++ b/indra/llui/llviewmodel.h @@ -102,6 +102,7 @@ public: // New functions /// Get the stored value in string form const LLWString& getDisplay() const { return mDisplay; } + LLWString& getEditableDisplay() { mDirty = true; mUpdateFromDisplay = true; return mDisplay; } /** * Set the display string directly (see LLTextEditor). What the user is |