Editor code: tidy up BOOLs,NULLs and overrides pt4.
A few 'typedefs' replaced by 'using's This shouldn't have any functional changes at all, just c++17 modernization It's a part 4 of a split #2847 Signed-off-by: Nemerle <nemerle5+git@gmail.com>
This commit is contained in:
@@ -55,15 +55,15 @@ CUIEnumerations::TDValuesContainer& CUIEnumerations::GetStandardNameContainer()
|
||||
{
|
||||
oEnumerationItem = oEnumaration->getChild(nCurrentEnumarationItem);
|
||||
|
||||
const char* szKey(NULL);
|
||||
const char* szValue(NULL);
|
||||
const char* szKey(nullptr);
|
||||
const char* szValue(nullptr);
|
||||
oEnumerationItem->getAttributeByIndex(0, &szKey, &szValue);
|
||||
|
||||
cValues.push_back(szValue);
|
||||
}
|
||||
|
||||
const char* szKey(NULL);
|
||||
const char* szValue(NULL);
|
||||
const char* szKey(nullptr);
|
||||
const char* szValue(nullptr);
|
||||
oEnumaration->getAttributeByIndex(0, &szKey, &szValue);
|
||||
|
||||
cValuesContainer.insert(TDValuesContainer::value_type(szValue, cValues));
|
||||
|
||||
Reference in New Issue
Block a user