aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterlandholdings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterlandholdings.cpp')
-rw-r--r--linden/indra/newview/llfloaterlandholdings.cpp6
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
55LLFloaterLandHoldings* LLFloaterLandHoldings::sInstance = NULL; 55LLFloaterLandHoldings* LLFloaterLandHoldings::sInstance = NULL;
@@ -59,7 +59,7 @@ LLFloaterLandHoldings* LLFloaterLandHoldings::sInstance = NULL;
59void LLFloaterLandHoldings::show(void*) 59void 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
251void LLFloaterLandHoldings::buttonCore(S32 which) 251void 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();