summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterbuycurrency.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterbuycurrency.cpp')
-rw-r--r--indra/newview/llfloaterbuycurrency.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfloaterbuycurrency.cpp b/indra/newview/llfloaterbuycurrency.cpp
index fb6cb40401..9741fbb7c7 100644
--- a/indra/newview/llfloaterbuycurrency.cpp
+++ b/indra/newview/llfloaterbuycurrency.cpp
@@ -40,7 +40,7 @@
#include "lltextbox.h"
#include "llviewchildren.h"
#include "llviewerwindow.h"
-#include "llvieweruictrlfactory.h"
+#include "lluictrlfactory.h"
#include "llweb.h"
#include "llwindow.h"
#include "llappviewer.h"
@@ -97,7 +97,7 @@ LLFloaterBuyCurrencyUI* LLFloaterBuyCurrencyUI::soleInstance(bool createIfNeeded
{
sInstance = new LLFloaterBuyCurrencyUI();
- gUICtrlFactory->buildFloater(sInstance, "floater_buy_currency.xml");
+ LLUICtrlFactory::getInstance()->buildFloater(sInstance, "floater_buy_currency.xml");
sInstance->center();
}
@@ -221,7 +221,7 @@ void LLFloaterBuyCurrencyUI::updateUI()
{
mChildren.setBadge("step_error", LLViewChildren::BADGE_ERROR);
- LLTextBox* message = LLUICtrlFactory::getTextBoxByName(this, "error_message");
+ LLTextBox* message = getChild<LLTextBox>("error_message");
if (message)
{
message->setVisible(true);