Refactoring

This commit is contained in:
Kirill Polyakov
2024-02-27 14:54:45 +03:00
parent 849ad8ac87
commit ed0d1fbdb0
2 changed files with 5 additions and 7 deletions

View File

@ -185,8 +185,6 @@ namespace NSCSS
arNodes.pop_back();
arNextNodes.push_back(wsName);
// pStyle->AddParent(wsName);
const std::map<std::wstring, CElement*>::const_iterator oFindName = m_mData.find(wsName);
std::map<std::wstring, CElement*>::const_iterator oFindId;
@ -544,12 +542,12 @@ namespace NSCSS
else if (!bIsSettings)
oTempStyle.AddStyle(arSelectors[i].m_wsStyle, i + 1, true);
}
else if (bIsSettings)
else /*if (bIsSettings)*/
oTempStyle.AddStyle(arSelectors[i].m_wsStyle, i + 1, true);
}
else
oTempStyle.AddStyle(arSelectors[i].m_wsStyle, i + 1, true);
oStyle += oTempStyle;
}