aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterbuycurrency.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterbuycurrency.cpp')
-rw-r--r--linden/indra/newview/llfloaterbuycurrency.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloaterbuycurrency.cpp b/linden/indra/newview/llfloaterbuycurrency.cpp
index dd7732d..0381b8f 100644
--- a/linden/indra/newview/llfloaterbuycurrency.cpp
+++ b/linden/indra/newview/llfloaterbuycurrency.cpp
@@ -40,7 +40,7 @@
40#include "lltextbox.h" 40#include "lltextbox.h"
41#include "llviewchildren.h" 41#include "llviewchildren.h"
42#include "llviewerwindow.h" 42#include "llviewerwindow.h"
43#include "llvieweruictrlfactory.h" 43#include "lluictrlfactory.h"
44#include "llweb.h" 44#include "llweb.h"
45#include "llwindow.h" 45#include "llwindow.h"
46#include "llappviewer.h" 46#include "llappviewer.h"
@@ -97,7 +97,7 @@ LLFloaterBuyCurrencyUI* LLFloaterBuyCurrencyUI::soleInstance(bool createIfNeeded
97 { 97 {
98 sInstance = new LLFloaterBuyCurrencyUI(); 98 sInstance = new LLFloaterBuyCurrencyUI();
99 99
100 gUICtrlFactory->buildFloater(sInstance, "floater_buy_currency.xml"); 100 LLUICtrlFactory::getInstance()->buildFloater(sInstance, "floater_buy_currency.xml");
101 sInstance->center(); 101 sInstance->center();
102 } 102 }
103 103
@@ -221,7 +221,7 @@ void LLFloaterBuyCurrencyUI::updateUI()
221 { 221 {
222 mChildren.setBadge("step_error", LLViewChildren::BADGE_ERROR); 222 mChildren.setBadge("step_error", LLViewChildren::BADGE_ERROR);
223 223
224 LLTextBox* message = LLUICtrlFactory::getTextBoxByName(this, "error_message"); 224 LLTextBox* message = getChild<LLTextBox>("error_message");
225 if (message) 225 if (message)
226 { 226 {
227 message->setVisible(true); 227 message->setVisible(true);