[Libreoffice-commits] core.git: unoidl/source
Julien Nabet
serval2412 at yahoo.fr
Mon Sep 16 22:46:42 PDT 2013
unoidl/source/sourcetreeprovider.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 805738b0ee3504e34a0960fe82f092fb319f9fc9
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Tue Sep 17 07:46:07 2013 +0200
-Werror=shadow
Change-Id: Ia344d5a68118ba9896672ebbf4cccaf0511f8186
diff --git a/unoidl/source/sourcetreeprovider.cxx b/unoidl/source/sourcetreeprovider.cxx
index d389f0c..dd87ea3 100755
--- a/unoidl/source/sourcetreeprovider.cxx
+++ b/unoidl/source/sourcetreeprovider.cxx
@@ -130,10 +130,10 @@ rtl::Reference<Entity> SourceTreeProvider::findEntity(OUString const & name)
uri += ".idl";
SourceProviderScannerData data(manager_);
if (parse(uri, &data)) {
- std::map<OUString, SourceProviderEntity>::const_iterator i(
+ std::map<OUString, SourceProviderEntity>::const_iterator j(
data.entities.find(name));
- if (i != data.entities.end()) {
- ent = i->second.entity;
+ if (j != data.entities.end()) {
+ ent = j->second.entity;
}
SAL_WARN_IF(
!ent.is(), "unoidl",
More information about the Libreoffice-commits
mailing list