summaryrefslogtreecommitdiff
path: root/indra/newview/llsyntaxid.cpp
diff options
context:
space:
mode:
authorIma Mechanique <ima.mechanique@secondlife.com>2014-01-30 14:03:34 +0000
committerIma Mechanique <ima.mechanique@secondlife.com>2014-01-30 14:03:34 +0000
commit93322ff17609ff4bb4f8f87f0b53783b68515279 (patch)
tree26a898a3b26a20cbbeae56e3eefd56cf3ec61a06 /indra/newview/llsyntaxid.cpp
parent4bcb67c704098d30f0969cc4791018ce136e49e7 (diff)
Removing duplication of messages
Diffstat (limited to 'indra/newview/llsyntaxid.cpp')
-rw-r--r--indra/newview/llsyntaxid.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/indra/newview/llsyntaxid.cpp b/indra/newview/llsyntaxid.cpp
index d54cc06490..f868d82f11 100644
--- a/indra/newview/llsyntaxid.cpp
+++ b/indra/newview/llsyntaxid.cpp
@@ -248,12 +248,12 @@ void LLSyntaxIdLSL::initialise()
LL_INFOS("SyntaxLSL")
<< "File is cached, no need to download!"
<< LL_ENDL;
- loadKeywordsIntoLLSD();
+ sLoaded = loadKeywordsIntoLLSD();
}
}
else
{ // Need to open the default
- loadDefaultKeywordsIntoLLSD("LSLSyntaxId is null so we will use the default file!");
+ loadDefaultKeywordsIntoLLSD();
}
}
else if (sKeywordsXml.isDefined())
@@ -264,7 +264,7 @@ void LLSyntaxIdLSL::initialise()
}
else
{ // Need to open the default
- loadDefaultKeywordsIntoLLSD("LSLSyntaxId is null so we will use the default file!");
+ loadDefaultKeywordsIntoLLSD();
}
mFileNameCurrent = mFileNameNew;
@@ -305,12 +305,13 @@ bool LLSyntaxIdLSL::isSupportedVersion(const LLSD& content)
//-----------------------------------------------------------------------------
// loadDefaultKeywordsIntoLLSD()
//-----------------------------------------------------------------------------
-void LLSyntaxIdLSL::loadDefaultKeywordsIntoLLSD(const std::string message)
+void LLSyntaxIdLSL::loadDefaultKeywordsIntoLLSD()
{
- LL_INFOS("SyntaxLSL") << message << LL_ENDL;
+ LL_INFOS("SyntaxLSL")
+ << "LSLSyntaxId is null so we will use the default file!" << LL_ENDL;
mSyntaxIdNew = LLUUID();
buildFullFileSpec();
- loadKeywordsIntoLLSD();
+ sLoaded = loadKeywordsIntoLLSD();
}
//-----------------------------------------------------------------------------