Commit 849c3815 authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

Misc empty string cleanup

parent a8284433
......@@ -282,11 +282,11 @@ void LLMultiSliderCtrl::clear()
setCurSliderValue(0.0f);
if( mEditor )
{
mEditor->setText(std::string(""));
mEditor->setText(LLStringUtil::null);
}
if( mTextBox )
{
mTextBox->setText(std::string(""));
mTextBox->setText(LLStringUtil::null);
}
// get rid of sliders
......
......@@ -733,7 +733,7 @@ void LLInventoryFilter::setFilterSubString(const std::string& string)
{
mFilterTokens.clear();
if (filter_sub_string_new.find_first_of("+") != std::string::npos)
if (filter_sub_string_new.find_first_of('+') != std::string::npos)
{
typedef boost::tokenizer<boost::char_separator<char> > tokenizer;
boost::char_separator<char> sep("+");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment