while working on cstr, search and destroy made "CStr &x" -> "CStr& x". didn't intend to hit gui code, but ok :)

This was SVN commit r534.
This commit is contained in:
janwas
2004-06-18 14:07:06 +00:00
parent a2fdd3e190
commit 4258ba245d
14 changed files with 74 additions and 74 deletions
+4 -4
View File
@@ -135,7 +135,7 @@ void IGUIObject::Destroy()
m_Settings[Name].m_pSetting = new type(); \
break;
void IGUIObject::AddSetting(const EGUISettingType &Type, const CStr &Name)
void IGUIObject::AddSetting(const EGUISettingType &Type, const CStr& Name)
{
// Is name already taken?
if (m_Settings.count(Name) >= 1)
@@ -201,7 +201,7 @@ void IGUIObject::UpdateMouseOver(IGUIObject * const &pMouseOver)
}
}
bool IGUIObject::SettingExists(const CStr &Setting) const
bool IGUIObject::SettingExists(const CStr& Setting) const
{
// Because GetOffsets will direct dynamically defined
// classes with polymorifsm to respective ms_SettingsInfo
@@ -222,7 +222,7 @@ bool IGUIObject::SettingExists(const CStr &Setting) const
GUI<type>::SetSetting(this, Setting, _Value); \
}
void IGUIObject::SetSetting(const CStr &Setting, const CStr &Value)
void IGUIObject::SetSetting(const CStr& Setting, const CStr& Value)
{
if (!SettingExists(Setting))
{
@@ -299,7 +299,7 @@ void IGUIObject::UpdateCachedSize()
}
void IGUIObject::LoadStyle(CGUI &GUIinstance, const CStr &StyleName)
void IGUIObject::LoadStyle(CGUI &GUIinstance, const CStr& StyleName)
{
// Fetch style
if (GUIinstance.m_Styles.count(StyleName)==1)