[Libreoffice-commits] core.git: oox/source
Julien Nabet
serval2412 at yahoo.fr
Thu Aug 7 11:15:42 PDT 2014
oox/source/core/xmlfilterbase.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b0eff57aaeb34d25dc011249828f5029df951f57
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Thu Aug 7 20:14:30 2014 +0200
cppcheck: Same iterator used with different containers
Change-Id: Idc7f16dc4c81857d7a3f508ed830904d90a762b0
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index f236a9e..b54cd51 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -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)
More information about the Libreoffice-commits
mailing list