diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llprefsim.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llprefsim.cpp b/linden/indra/newview/llprefsim.cpp index 168d218..fff10c7 100644 --- a/linden/indra/newview/llprefsim.cpp +++ b/linden/indra/newview/llprefsim.cpp | |||
@@ -42,7 +42,7 @@ | |||
42 | #include "llagent.h" | 42 | #include "llagent.h" |
43 | #include "llviewercontrol.h" | 43 | #include "llviewercontrol.h" |
44 | #include "llviewernetwork.h" | 44 | #include "llviewernetwork.h" |
45 | #include "llvieweruictrlfactory.h" | 45 | #include "lluictrlfactory.h" |
46 | 46 | ||
47 | #include "lldirpicker.h" | 47 | #include "lldirpicker.h" |
48 | 48 | ||
@@ -91,7 +91,7 @@ protected: | |||
91 | LLPrefsIMImpl::LLPrefsIMImpl() | 91 | LLPrefsIMImpl::LLPrefsIMImpl() |
92 | : LLPanel("IM Prefs Panel") | 92 | : LLPanel("IM Prefs Panel") |
93 | { | 93 | { |
94 | gUICtrlFactory->buildPanel(this, "panel_preferences_im.xml"); | 94 | LLUICtrlFactory::getInstance()->buildPanel(this, "panel_preferences_im.xml"); |
95 | } | 95 | } |
96 | 96 | ||
97 | void LLPrefsIMImpl::refresh() | 97 | void LLPrefsIMImpl::refresh() |
@@ -187,7 +187,7 @@ void LLPrefsIMImpl::enableHistory() | |||
187 | 187 | ||
188 | void LLPrefsIMImpl::apply() | 188 | void LLPrefsIMImpl::apply() |
189 | { | 189 | { |
190 | LLTextEditor* busy = LLUICtrlFactory::getTextEditorByName(this, "busy_response"); | 190 | LLTextEditor* busy = getChild<LLTextEditor>("busy_response"); |
191 | LLWString busy_response; | 191 | LLWString busy_response; |
192 | if (busy) busy_response = busy->getWText(); | 192 | if (busy) busy_response = busy->getWText(); |
193 | LLWString::replaceTabsWithSpaces(busy_response, 4); | 193 | LLWString::replaceTabsWithSpaces(busy_response, 4); |