Commit 00260417 authored by Ralf Habacker's avatar Ralf Habacker

Fix 'c++ import requests name for global name space'.

The name space parsing code in Import_utils::createUMLObject()
did not ignore the global (=empty) name space.

BUG:341799
parent 713fe83d
......@@ -220,7 +220,7 @@ UMLObject *createUMLObject(UMLObject::ObjectType type,
// Find, or create, the scopes.
QStringList components;
if (typeName.contains(QLatin1String("::"))) {
components = typeName.split(QLatin1String("::"));
components = typeName.split(QLatin1String("::"), QString::SkipEmptyParts);
} else if (typeName.contains(QLatin1String("..."))) {
// Java variable length arguments
type = UMLObject::ot_Datatype;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment