diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpaneldirland.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llpaneldirland.cpp b/linden/indra/newview/llpaneldirland.cpp index d376ccf..6e8af5f 100644 --- a/linden/indra/newview/llpaneldirland.cpp +++ b/linden/indra/newview/llpaneldirland.cpp | |||
@@ -96,7 +96,7 @@ BOOL LLPanelDirLand::postBuild() | |||
96 | 96 | ||
97 | mCurrentSortColumn = "per_meter"; | 97 | mCurrentSortColumn = "per_meter"; |
98 | 98 | ||
99 | LLScrollListCtrl* results = (LLScrollListCtrl*)getChildByName("results"); | 99 | LLScrollListCtrl* results = getChild<LLScrollListCtrl>("results"); |
100 | if (results) | 100 | if (results) |
101 | { | 101 | { |
102 | results->setSortChangedCallback(onClickSort); | 102 | results->setSortChangedCallback(onClickSort); |
@@ -168,7 +168,7 @@ void LLPanelDirLand::performQuery() | |||
168 | query_flags |= DFQ_MATURE_SIMS_ONLY; | 168 | query_flags |= DFQ_MATURE_SIMS_ONLY; |
169 | } | 169 | } |
170 | 170 | ||
171 | LLScrollListCtrl* list = (LLScrollListCtrl*)getChildByName("results"); | 171 | LLScrollListCtrl* list = getChild<LLScrollListCtrl>("results"); |
172 | if (list) | 172 | if (list) |
173 | { | 173 | { |
174 | std::string sort_name = list->getSortColumnName(); | 174 | std::string sort_name = list->getSortColumnName(); |