cppcheck: Same iterator used with different containers

Change-Id: Idc7f16dc4c81857d7a3f508ed830904d90a762b0
This commit is contained in:
Julien Nabet 2014-08-07 20:14:30 +02:00
parent 2b54e4a616
commit b0eff57aae

View file

@ -679,7 +679,7 @@ writeAppProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xProp
uno::Reference<beans::XPropertyAccess> xUserDefinedProperties(xProperties->getUserDefinedProperties(), uno::UNO_QUERY);
comphelper::SequenceAsHashMap aUserDefinedProperties(xUserDefinedProperties->getPropertyValues());
it = aUserDefinedProperties.find("Company");
if (it != aStats.end())
if (it != aUserDefinedProperties.end())
{
OUString aValue;
if (it->second >>= aValue)