diff options
| author | Steven Bennetts <steve@lindenlab.com> | 2008-06-26 00:39:00 +0000 | 
|---|---|---|
| committer | Steven Bennetts <steve@lindenlab.com> | 2008-06-26 00:39:00 +0000 | 
| commit | 25c10ed028da5c547b11f1f461916897272b0e6d (patch) | |
| tree | 350a5858f8970b6e28b2dc395625d74d8bd597b2 /indra/newview/llfloaterpreference.cpp | |
| parent | 6dd125d375b38455997a0c4b8747659f4c2351aa (diff) | |
QAR-628 merge string-cleanup-5 -r 90476:90508 -> release
dataserver-is-deprecated
Diffstat (limited to 'indra/newview/llfloaterpreference.cpp')
| -rw-r--r-- | indra/newview/llfloaterpreference.cpp | 15 | 
1 files changed, 4 insertions, 11 deletions
| diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index f78da984a9..981c9c41b3 100644 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -302,10 +302,7 @@ void LLPreferenceCore::onTabChanged(void* user_data, bool from_click)  } -void LLPreferenceCore::setPersonalInfo( -	const char* visibility, -	BOOL im_via_email, -	const char* email) +void LLPreferenceCore::setPersonalInfo(const std::string& visibility, bool im_via_email, const std::string& email)  {  	mPrefsIM->setPersonalInfo(visibility, im_via_email, email);  } @@ -435,7 +432,7 @@ void LLFloaterPreference::onBtnOK( void* userdata )  		std::string crash_settings_filename = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, CRASH_SETTINGS_FILE);  		// save all settings, even if equals defaults -		gCrashSettings.saveToFile(crash_settings_filename.c_str(), FALSE); +		gCrashSettings.saveToFile(crash_settings_filename, FALSE);  	}  	else  	{ @@ -488,15 +485,11 @@ void LLFloaterPreference::onBtnCancel( void* userdata )  // static -void LLFloaterPreference::updateUserInfo( -	const char* visibility, -	BOOL im_via_email, -	const char* email) +void LLFloaterPreference::updateUserInfo(const std::string& visibility, bool im_via_email, const std::string& email)  {  	if(sInstance && sInstance->mPreferenceCore)  	{ -		sInstance->mPreferenceCore->setPersonalInfo( -			visibility, im_via_email, email); +		sInstance->mPreferenceCore->setPersonalInfo(visibility, im_via_email, email);  	}  } | 
