summaryrefslogtreecommitdiff
path: root/indra/newview/llnamelistctrl.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-08-23 11:03:19 -0700
committerRichard Nelson <none@none>2010-08-23 11:03:19 -0700
commit65c9914d23022df6a39db50ce295750f08695893 (patch)
tree86b2adff34df631a0f2a35d23de67e4adaf688c9 /indra/newview/llnamelistctrl.cpp
parent2ddeabec91cf14d252e7a0d4687fe2a46eeff8b7 (diff)
made Params parsers not act as singletons
Diffstat (limited to 'indra/newview/llnamelistctrl.cpp')
-rw-r--r--indra/newview/llnamelistctrl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llnamelistctrl.cpp b/indra/newview/llnamelistctrl.cpp
index d09f729943..b4c4d4a2ee 100644
--- a/indra/newview/llnamelistctrl.cpp
+++ b/indra/newview/llnamelistctrl.cpp
@@ -259,7 +259,8 @@ void LLNameListCtrl::addNameItem(LLNameListCtrl::NameItem& item, EAddPosition po
LLScrollListItem* LLNameListCtrl::addElement(const LLSD& element, EAddPosition pos, void* userdata)
{
LLNameListCtrl::NameItem item_params;
- LLParamSDParser::instance().readSD(element, item_params);
+ LLParamSDParser parser;
+ parser.readSD(element, item_params);
item_params.userdata = userdata;
return addNameItemRow(item_params, pos);
}