diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llfloaterlandholdings.cpp | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2 meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz |
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/newview/llfloaterlandholdings.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterlandholdings.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloaterlandholdings.cpp b/linden/indra/newview/llfloaterlandholdings.cpp index 32d077c..01bad70 100644 --- a/linden/indra/newview/llfloaterlandholdings.cpp +++ b/linden/indra/newview/llfloaterlandholdings.cpp | |||
@@ -49,7 +49,7 @@ | |||
49 | #include "llbutton.h" | 49 | #include "llbutton.h" |
50 | #include "lluiconstants.h" | 50 | #include "lluiconstants.h" |
51 | #include "llviewermessage.h" | 51 | #include "llviewermessage.h" |
52 | #include "llvieweruictrlfactory.h" | 52 | #include "lluictrlfactory.h" |
53 | 53 | ||
54 | // statics | 54 | // statics |
55 | LLFloaterLandHoldings* LLFloaterLandHoldings::sInstance = NULL; | 55 | LLFloaterLandHoldings* LLFloaterLandHoldings::sInstance = NULL; |
@@ -59,7 +59,7 @@ LLFloaterLandHoldings* LLFloaterLandHoldings::sInstance = NULL; | |||
59 | void LLFloaterLandHoldings::show(void*) | 59 | void LLFloaterLandHoldings::show(void*) |
60 | { | 60 | { |
61 | LLFloaterLandHoldings* floater = new LLFloaterLandHoldings(); | 61 | LLFloaterLandHoldings* floater = new LLFloaterLandHoldings(); |
62 | gUICtrlFactory->buildFloater(floater, "floater_land_holdings.xml"); | 62 | LLUICtrlFactory::getInstance()->buildFloater(floater, "floater_land_holdings.xml"); |
63 | floater->center(); | 63 | floater->center(); |
64 | 64 | ||
65 | // query_id null is known to be us | 65 | // query_id null is known to be us |
@@ -250,7 +250,7 @@ void LLFloaterLandHoldings::processPlacesReply(LLMessageSystem* msg, void**) | |||
250 | 250 | ||
251 | void LLFloaterLandHoldings::buttonCore(S32 which) | 251 | void LLFloaterLandHoldings::buttonCore(S32 which) |
252 | { | 252 | { |
253 | LLScrollListCtrl *list = LLUICtrlFactory::getScrollListByName(this, "parcel list"); | 253 | LLScrollListCtrl *list = getChild<LLScrollListCtrl>("parcel list"); |
254 | if (!list) return; | 254 | if (!list) return; |
255 | 255 | ||
256 | S32 index = list->getFirstSelectedIndex(); | 256 | S32 index = list->getFirstSelectedIndex(); |