diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llpaneldirland.cpp | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/newview/llpaneldirland.cpp')
-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(); |