summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Ellert <mattias.ellert@fysast.uu.se>2014-08-27 03:40:16 (GMT)
committerMattias Ellert <mattias.ellert@fysast.uu.se>2014-08-27 03:40:16 (GMT)
commit7a0f5e6d565db6192f8c22045d7988a0b4e4d8c3 (patch)
tree5996a84bc6dcadd82660d4efd54c4f53e1cf4931
parentbcd3fbf59f9199470d51938486fecda05006da61 (diff)
downloadDoxygen-7a0f5e6d565db6192f8c22045d7988a0b4e4d8c3.zip
Doxygen-7a0f5e6d565db6192f8c22045d7988a0b4e4d8c3.tar.gz
Doxygen-7a0f5e6d565db6192f8c22045d7988a0b4e4d8c3.tar.bz2
Use substitute() instead of QString conversion
-rw-r--r--src/memberdef.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 794fa15..7b4908a 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -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