diff --git a/kdwsdl2cpp/src/typemap.cpp b/kdwsdl2cpp/src/typemap.cpp index 0e8a0aabe..153d7981a 100644 --- a/kdwsdl2cpp/src/typemap.cpp +++ b/kdwsdl2cpp/src/typemap.cpp @@ -307,6 +307,9 @@ QString TypeMap::localTypeForElement(const QName &elementName) const { QList::ConstIterator it = elementEntry(elementName); if (it != mElementMap.constEnd()) { + if (!(*it).builtinType) { + return correctSyntaxCpp((*it).localType); + } return (*it).localType; }