diff options
author | Cinder <cinder.roxley@phoenixviewer.com> | 2014-05-06 11:09:50 -0600 |
---|---|---|
committer | Cinder <cinder.roxley@phoenixviewer.com> | 2014-05-06 11:09:50 -0600 |
commit | e8422e5bed6c593c8a26b533f33103911a1d3da6 (patch) | |
tree | ce8140d0741ad88482961ca4a4bfc159db2829cf /indra/llui/llkeywords.h | |
parent | 9353868d91dfe2c4539c81c0b96bfe9efb497b2c (diff) |
Let's get started: some code policy cleanup, reference arguments where we can, correct spelling
Diffstat (limited to 'indra/llui/llkeywords.h')
-rwxr-xr-x | indra/llui/llkeywords.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llui/llkeywords.h b/indra/llui/llkeywords.h index 69bc8919db..b17e9dd942 100755 --- a/indra/llui/llkeywords.h +++ b/indra/llui/llkeywords.h @@ -109,9 +109,9 @@ public: LLKeywords(); ~LLKeywords(); - void addColorGroup(const std::string key_in, const LLColor4 color); + void addColorGroup(const std::string& key_in, const LLColor4& color); void clearLoaded() { mLoaded = false; } - LLColor4 getColorGroup(const std::string key_in); + LLColor4 getColorGroup(const std::string& key_in); bool isLoaded() const { return mLoaded; } void findSegments(std::vector<LLTextSegmentPtr> *seg_list, const LLWString& text, const LLColor4 &defaultColor, class LLTextEditor& editor ); @@ -167,7 +167,7 @@ public: #endif protected: - void processTokensGroup(LLSD& Tokens, const std::string Group); + void processTokensGroup(const LLSD& Tokens, const std::string& Group); LLColor4 readColor(const std::string& s); LLColor4 readColor(LLSD& sd); void insertSegment(std::vector<LLTextSegmentPtr>& seg_list, LLTextSegmentPtr new_segment, S32 text_len, const LLColor4 &defaultColor, class LLTextEditor& editor); |