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/lltextbox.cpp | |
| 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/lltextbox.cpp')
| -rw-r--r-- | indra/llui/lltextbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltextbox.cpp b/indra/llui/lltextbox.cpp index 6a905b7ec0..11cfa1d263 100644 --- a/indra/llui/lltextbox.cpp +++ b/indra/llui/lltextbox.cpp @@ -150,7 +150,7 @@ S32 LLTextBox::getTextPixelHeight() LLSD LLTextBox::getValue() const { - return LLSD(getText()); + return getViewModel()->getValue(); } BOOL LLTextBox::setTextArg( const std::string& key, const LLStringExplicit& text ) |
