diff options
author | Richard Nelson <none@none> | 2010-08-23 11:03:19 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-08-23 11:03:19 -0700 |
commit | 65c9914d23022df6a39db50ce295750f08695893 (patch) | |
tree | 86b2adff34df631a0f2a35d23de67e4adaf688c9 /indra/llxuixml/lltrans.cpp | |
parent | 2ddeabec91cf14d252e7a0d4687fe2a46eeff8b7 (diff) |
made Params parsers not act as singletons
Diffstat (limited to 'indra/llxuixml/lltrans.cpp')
-rw-r--r-- | indra/llxuixml/lltrans.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llxuixml/lltrans.cpp b/indra/llxuixml/lltrans.cpp index d6f17dbb08..bf38e925c6 100644 --- a/indra/llxuixml/lltrans.cpp +++ b/indra/llxuixml/lltrans.cpp @@ -72,7 +72,8 @@ bool LLTrans::parseStrings(LLXMLNodePtr &root, const std::set<std::string>& defa } StringTable string_table; - LLXUIParser::instance().readXUI(root, string_table, xml_filename); + LLXUIParser parser; + parser.readXUI(root, string_table, xml_filename); if (!string_table.validateBlock()) { @@ -115,7 +116,8 @@ bool LLTrans::parseLanguageStrings(LLXMLNodePtr &root) } StringTable string_table; - LLXUIParser::instance().readXUI(root, string_table, xml_filename); + LLXUIParser parser; + parser.readXUI(root, string_table, xml_filename); if (!string_table.validateBlock()) { |