aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterenvsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterenvsettings.cpp')
-rw-r--r--linden/indra/newview/llfloaterenvsettings.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloaterenvsettings.cpp b/linden/indra/newview/llfloaterenvsettings.cpp
index b16b48d..d7f2ed0 100644
--- a/linden/indra/newview/llfloaterenvsettings.cpp
+++ b/linden/indra/newview/llfloaterenvsettings.cpp
@@ -53,7 +53,7 @@
53 53
54LLFloaterEnvSettings* LLFloaterEnvSettings::sEnvSettings = NULL; 54LLFloaterEnvSettings* LLFloaterEnvSettings::sEnvSettings = NULL;
55 55
56LLFloaterEnvSettings::LLFloaterEnvSettings() : LLFloater("Environment Settings Floater") 56LLFloaterEnvSettings::LLFloaterEnvSettings() : LLFloater(std::string("Environment Settings Floater"))
57{ 57{
58 LLUICtrlFactory::getInstance()->buildFloater(this, "floater_env_settings.xml"); 58 LLUICtrlFactory::getInstance()->buildFloater(this, "floater_env_settings.xml");
59 59
@@ -110,7 +110,7 @@ void LLFloaterEnvSettings::syncMenu()
110 110
111 // sync the clock 111 // sync the clock
112 F32 val = (F32)LLWLParamManager::instance()->mAnimator.getDayTime(); 112 F32 val = (F32)LLWLParamManager::instance()->mAnimator.getDayTime();
113 LLString timeStr = timeToString(val); 113 std::string timeStr = timeToString(val);
114 114
115 LLTextBox* textBox; 115 LLTextBox* textBox;
116 textBox = sEnvSettings->getChild<LLTextBox>("EnvTimeText"); 116 textBox = sEnvSettings->getChild<LLTextBox>("EnvTimeText");
@@ -308,7 +308,7 @@ void LLFloaterEnvSettings::onUseEstateTime(void* userData)
308 LLWLParamManager::instance()->mAnimator.mUseLindenTime = true; 308 LLWLParamManager::instance()->mAnimator.mUseLindenTime = true;
309} 309}
310 310
311LLString LLFloaterEnvSettings::timeToString(F32 curTime) 311std::string LLFloaterEnvSettings::timeToString(F32 curTime)
312{ 312{
313 S32 hours; 313 S32 hours;
314 S32 min; 314 S32 min;