diff options
Diffstat (limited to 'linden/indra/llmessage/llmessageconfig.cpp')
-rw-r--r-- | linden/indra/llmessage/llmessageconfig.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/llmessage/llmessageconfig.cpp b/linden/indra/llmessage/llmessageconfig.cpp index a0566ea..687896b 100644 --- a/linden/indra/llmessage/llmessageconfig.cpp +++ b/linden/indra/llmessage/llmessageconfig.cpp | |||
@@ -112,9 +112,10 @@ void LLMessageConfigFile::loadServerDefaults(const LLSD& data) | |||
112 | 112 | ||
113 | void LLMessageConfigFile::loadMessages(const LLSD& data) | 113 | void LLMessageConfigFile::loadMessages(const LLSD& data) |
114 | { | 114 | { |
115 | mMessages = data["messages"]; | 115 | LLPointer<LLSDXMLFormatter> formatter = new LLSDXMLFormatter; |
116 | std::ostringstream out; | 116 | std::ostringstream out; |
117 | LLSDXMLFormatter *formatter = new LLSDXMLFormatter; | 117 | |
118 | mMessages = data["messages"]; | ||
118 | formatter->format(mMessages, out); | 119 | formatter->format(mMessages, out); |
119 | lldebugs << "loading ... " << out.str() | 120 | lldebugs << "loading ... " << out.str() |
120 | << " LLMessageConfigFile::loadMessages loaded " | 121 | << " LLMessageConfigFile::loadMessages loaded " |