summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermodelpreview.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-10-05 16:55:19 -0500
committerDave Parks <davep@lindenlab.com>2010-10-05 16:55:19 -0500
commit1f00747cd2accbe1b243e5c23f6e74a061a22bfa (patch)
treea3c103fe5b4e51d7452cca2989da0b99b815df8f /indra/newview/llfloatermodelpreview.cpp
parent87a9f475756d54d9d98c8cbb6395f89d6fc4606a (diff)
Post review cleanup.
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rw-r--r--indra/newview/llfloatermodelpreview.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index 69e641c074..d939d27fa9 100644
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -643,7 +643,7 @@ void LLFloaterModelPreview::draw()
else
{
const std::string idle("Idle.");
- mDecompFloater->childSetText("status", std::string("Idle."));
+ mDecompFloater->childSetText("status", idle);
}
}
@@ -789,12 +789,9 @@ void LLFloaterModelPreview::onPhysicsParamCommit(LLUICtrl* ctrl, void* data)
if (sInstance)
{
- LLCDResult ret = LLCD_OK;
LLCDParam* param = (LLCDParam*) data;
sInstance->mDecompParams[param->mName] = ctrl->getValue();
}
-
-
}
//static