diff options
Diffstat (limited to 'src/xmlpatterns/parser/qmaintainingreader.cpp')
-rw-r--r-- | src/xmlpatterns/parser/qmaintainingreader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmlpatterns/parser/qmaintainingreader.cpp b/src/xmlpatterns/parser/qmaintainingreader.cpp index 8569f05..292e0fd 100644 --- a/src/xmlpatterns/parser/qmaintainingreader.cpp +++ b/src/xmlpatterns/parser/qmaintainingreader.cpp @@ -147,7 +147,8 @@ void MaintainingReader<TokenLookupClass, LookupKey>::validateElement(const Looku if(m_elementDescriptions.contains(elementName)) { - const ElementDescription<TokenLookupClass, LookupKey> &desc = m_elementDescriptions.value(elementName); + // QHash::value breaks in Metrowerks Compiler + const ElementDescription<TokenLookupClass, LookupKey> &desc = *m_elementDescriptions.find(elementName); const int attCount = m_currentAttributes.count(); QSet<typename TokenLookupClass::NodeName> encounteredXSLTAtts; |