code cleanup (map access)

git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@658 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
Patrick Ohly 2008-07-06 20:36:29 +00:00
parent 12d1739da6
commit 3c12d2c05d
3 changed files with 3 additions and 3 deletions

View File

@ -188,7 +188,7 @@ void EvolutionCalendarSource::listAllItems(RevisionMap_t &revisions)
string modTime = getItemModTime(ecomp);
m_allLUIDs.insert(luid);
revisions.insert(make_pair(luid, modTime));
revisions[luid] = modTime;
nextItem = nextItem->next;
}
}

View File

@ -65,7 +65,7 @@ void PrefixConfigNode::readProperties(map<string, string> &props) const
string value = it->second;
if (boost::starts_with(key, m_prefix)) {
props.insert(make_pair(key.substr(m_prefix.size()), value));
props[key.substr(m_prefix.size())] = value;
}
}
}

View File

@ -59,7 +59,7 @@ void SafeConfigNode::readProperties(map<string, string> &props) const
string key = unescape(it->first);
string value = unescape(it->second);
props.insert(make_pair(key, value));
props[key] = value;
}
}