[Libreoffice-commits] core.git: unoidl/source
Stephan Bergmann
sbergman at redhat.com
Sat Feb 6 07:52:08 UTC 2016
unoidl/source/unoidl-check.cxx | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
New commits:
commit 68dbaa9681bec5e303aa4675c1dcbbf98991cb7b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sat Feb 6 08:51:42 2016 +0100
Fix prev. commit
Change-Id: I1dd71d6e35ac2dc5f27a11a3dd269247b1b35d39
diff --git a/unoidl/source/unoidl-check.cxx b/unoidl/source/unoidl-check.cxx
index e5f8bb0..ff01d24 100644
--- a/unoidl/source/unoidl-check.cxx
+++ b/unoidl/source/unoidl-check.cxx
@@ -1105,11 +1105,13 @@ void checkIds(
->getDirectProperties().size())
: 0);
assert(n <= ent2B->getDirectProperties().size());
- for (auto & i: ent2B->getDirectProperties()) {
- if (!valid(i.name)) {
+ for (auto i(ent2B->getDirectProperties().begin() +n);
+ i != ent2B->getDirectProperties().end(); ++i)
+ {
+ if (!valid(i->name)) {
std::cerr
<< "accumulation-based service " << name
- << " direct property " << i.name
+ << " direct property " << i->name
<< " uses an invalid identifier" << std::endl;
std::exit(EXIT_FAILURE);
}
More information about the Libreoffice-commits
mailing list