summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorIma Mechanique <ima.mechanique@secondlife.com>2014-03-28 17:21:36 +0000
committerIma Mechanique <ima.mechanique@secondlife.com>2014-03-28 17:21:36 +0000
commit8bc42784122619e3f37afabbc5888821c3430369 (patch)
treed20fa686a1f4b4379231ea8363da217e43eea774 /indra/llui
parent8e53c5bfb0e9feffa0450b362f21f56036b9b75c (diff)
strom-1831: Cleaning out commented and unused code
Diffstat (limited to 'indra/llui')
-rwxr-xr-xindra/llui/llkeywords.cpp10
-rwxr-xr-xindra/llui/llkeywords.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/indra/llui/llkeywords.cpp b/indra/llui/llkeywords.cpp
index 82b50f43ab..b495709ce0 100755
--- a/indra/llui/llkeywords.cpp
+++ b/indra/llui/llkeywords.cpp
@@ -134,16 +134,6 @@ void LLKeywords::addToken(LLKeywordToken::TOKEN_TYPE type,
}
}
-void LLKeywords::clear()
-{
- clearLoaded();
- mSyntax = LLSD();
-
- std::for_each(mWordTokenMap.begin(), mWordTokenMap.end(), DeletePairedPointer());
- std::for_each(mLineTokenList.begin(), mLineTokenList.end(), DeletePointer());
- std::for_each(mDelimiterTokenList.begin(), mDelimiterTokenList.end(), DeletePointer());
-}
-
std::string LLKeywords::getArguments(LLSD& arguments)
{
std::string argString = "";
diff --git a/indra/llui/llkeywords.h b/indra/llui/llkeywords.h
index de7645a5d2..689fd75bcd 100755
--- a/indra/llui/llkeywords.h
+++ b/indra/llui/llkeywords.h
@@ -110,7 +110,6 @@ public:
~LLKeywords();
void addColorGroup(const std::string key_in, const LLColor4 color);
- void clear();
void clearLoaded() { mLoaded = false; }
LLColor4 getColorGroup(const std::string key_in);
bool isLoaded() const { return mLoaded; }