Commit 7a0f5e6d authored by Mattias Ellert's avatar Mattias Ellert

Use substitute() instead of QString conversion

parent bcd3fbf5
......@@ -1675,8 +1675,7 @@ void MemberDef::writeDeclaration(OutputList &ol,
getBodyDef(), // fileScope
this, // self
isDefine() ?
QString(argsString()).replace(QRegExp(","),
QString(", ")).data() :
(const char*)substitute(argsString(),",",", ") :
argsString(), // text
m_impl->annMemb, // autoBreak
TRUE, // external
......
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