src/corelib/kernel/qmetaobject.cpp
branchRCL_3
changeset 7 3f74d0d4af4c
parent 4 3b1da2848fc7
equal deleted inserted replaced
6:dee5afe5301f 7:3f74d0d4af4c
   941     QByteArray result;
   941     QByteArray result;
   942 
   942 
   943     if (!type || !*type)
   943     if (!type || !*type)
   944         return result;
   944         return result;
   945 
   945 
   946     QVarLengthArray<char> stackbuf(int(strlen(type)) + 1);
   946     QVarLengthArray<char> stackbuf(qstrlen(type) + 1);
   947     qRemoveWhitespace(type, stackbuf.data());
   947     qRemoveWhitespace(type, stackbuf.data());
   948     int templdepth = 0;
   948     int templdepth = 0;
   949     qNormalizeType(stackbuf.data(), templdepth, result);
   949     qNormalizeType(stackbuf.data(), templdepth, result);
   950 
   950 
   951     return result;
   951     return result;