Kaydet (Commit) b0eff57a authored tarafından Julien Nabet's avatar Julien Nabet

cppcheck: Same iterator used with different containers

Change-Id: Idc7f16dc4c81857d7a3f508ed830904d90a762b0
üst 2b54e4a6
...@@ -679,7 +679,7 @@ writeAppProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xProp ...@@ -679,7 +679,7 @@ writeAppProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xProp
uno::Reference<beans::XPropertyAccess> xUserDefinedProperties(xProperties->getUserDefinedProperties(), uno::UNO_QUERY); uno::Reference<beans::XPropertyAccess> xUserDefinedProperties(xProperties->getUserDefinedProperties(), uno::UNO_QUERY);
comphelper::SequenceAsHashMap aUserDefinedProperties(xUserDefinedProperties->getPropertyValues()); comphelper::SequenceAsHashMap aUserDefinedProperties(xUserDefinedProperties->getPropertyValues());
it = aUserDefinedProperties.find("Company"); it = aUserDefinedProperties.find("Company");
if (it != aStats.end()) if (it != aUserDefinedProperties.end())
{ {
OUString aValue; OUString aValue;
if (it->second >>= aValue) if (it->second >>= aValue)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment