Simplify: store attributes in a simple map<CString,CString>, not in an object.
Makes attributes lighter.
This commit is contained in:
@@ -406,8 +406,8 @@ void Font::LoadFontPageSettings( FontPageSettings &cfg, IniFile &ini, const CStr
|
||||
{
|
||||
FOREACH_CONST_Attr( pNode, pAttr )
|
||||
{
|
||||
CString sName = pAttr->m_sName;
|
||||
const CString &sValue = pAttr->m_sValue;
|
||||
CString sName = pAttr->first;
|
||||
const CString &sValue = pAttr->second;
|
||||
|
||||
sName.MakeUpper();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user