summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbox.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-04-23 18:48:43 -0700
committerRichard Linden <none@none>2012-04-23 18:48:43 -0700
commit4472354b5454f758c467bb23190d1a84cf61d909 (patch)
tree926cc7d341e21d83c13ee37402cbffa94efa581c /indra/llui/lltextbox.cpp
parent5ef21ba6c5b0d6c8b5f201c7d2bede983504383c (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.cpp2
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 )