summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterlandholdings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterlandholdings.cpp')
-rw-r--r--indra/newview/llfloaterlandholdings.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llfloaterlandholdings.cpp b/indra/newview/llfloaterlandholdings.cpp
index 3c8ee6eb9e..19552ca9c9 100644
--- a/indra/newview/llfloaterlandholdings.cpp
+++ b/indra/newview/llfloaterlandholdings.cpp
@@ -145,8 +145,8 @@ void LLFloaterLandHoldings::refresh()
enable_btns = TRUE;
}
- getChildView("Teleport")->setEnabled(enable_btns);
- getChildView("Show on Map")->setEnabled(enable_btns);
+ childSetEnabled("Teleport", enable_btns);
+ childSetEnabled("Show on Map", enable_btns);
refreshAggregates();
}
@@ -334,7 +334,7 @@ void LLFloaterLandHoldings::refreshAggregates()
S32 current_area = gStatusBar->getSquareMetersCommitted();
S32 available_area = gStatusBar->getSquareMetersLeft();
- getChild<LLUICtrl>("allowed_text")->setTextArg("[AREA]", llformat("%d",allowed_area));
- getChild<LLUICtrl>("current_text")->setTextArg("[AREA]", llformat("%d",current_area));
- getChild<LLUICtrl>("available_text")->setTextArg("[AREA]", llformat("%d",available_area));
+ childSetTextArg("allowed_text", "[AREA]", llformat("%d",allowed_area));
+ childSetTextArg("current_text", "[AREA]", llformat("%d",current_area));
+ childSetTextArg("available_text", "[AREA]", llformat("%d",available_area));
}