diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-04-11 15:54:29 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-04-11 15:54:53 +0200 |
commit | f3abca2b45243107f70a402d2ec8ad5e3c50346a (patch) | |
tree | f04d38afe8b24d6e30dcd73dc2a3db438ca0facd | |
parent | 618f88466baaae1925f3f41543e171769f608f11 (diff) |
Show duplicate attribute
Change-Id: I6e1e66012817178c167e7cb531811686cb2fec19
-rw-r--r-- | sax/source/tools/fastserializer.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx index 4c1848bb08e7..85c9694d3094 100644 --- a/sax/source/tools/fastserializer.cxx +++ b/sax/source/tools/fastserializer.cxx @@ -293,6 +293,7 @@ namespace sax_fastparser { #ifdef DBG_UTIL // Well-formedness constraint: Unique Att Spec OString const nameId(getId(nToken)); + SAL_WARN_IF(DebugAttributes.find(nameId) != DebugAttributes.end(), "sax", "Duplicate attribute: " << nameId ); assert(DebugAttributes.find(nameId) == DebugAttributes.end()); DebugAttributes.insert(nameId); #endif |