summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff (Gioffredo Linden) <gioffredo@lindenlab.com>2012-10-16 16:08:25 -0400
committerJeff (Gioffredo Linden) <gioffredo@lindenlab.com>2012-10-16 16:08:25 -0400
commit86c3a45b6749387991064df6a42b1d046bd9d4d8 (patch)
tree0ed0faf7b4afa79e96fb0c8b5dc79a6b5d12e82e
parent337cd3aa9d8a8beaebd35ec6b53f09709e35a4d4 (diff)
Move const kw location
-rw-r--r--indra/newview/llchathistory.cpp2
-rw-r--r--indra/newview/llchathistory.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp
index 821d1f4685..c61a8c8562 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -596,7 +596,7 @@ LLChatHistory::LLChatHistory(const LLChatHistory::Params& p)
mEditor = LLUICtrlFactory::create<LLTextEditor>(editor_params, this);
}
-const LLSD LLChatHistory::getValue()
+LLSD LLChatHistory::getValue() const
{
LLSD* text=new LLSD();
text->assign(mEditor->getText());
diff --git a/indra/newview/llchathistory.h b/indra/newview/llchathistory.h
index b65d222b53..bb6d4fb59c 100644
--- a/indra/newview/llchathistory.h
+++ b/indra/newview/llchathistory.h
@@ -103,7 +103,7 @@ class LLChatHistory : public LLUICtrl
public:
~LLChatHistory();
- const LLSD getValue();
+ LLSD getValue() const;
void initFromParams(const Params&);
/**