summaryrefslogtreecommitdiffstats
path: root/src/reflist.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-07-18 11:31:43 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2018-07-18 11:31:43 (GMT)
commitfbca3f69cf0e98a8269c86567c7d24d25723bb82 (patch)
tree15bb3aab13383710bfa870b144e2197998e3beba /src/reflist.cpp
parent36e7bd7ee1ca011ef1370788e3d8da739bd4d37a (diff)
downloadDoxygen-fbca3f69cf0e98a8269c86567c7d24d25723bb82.zip
Doxygen-fbca3f69cf0e98a8269c86567c7d24d25723bb82.tar.gz
Doxygen-fbca3f69cf0e98a8269c86567c7d24d25723bb82.tar.bz2
Replaced replace(QRegExp..) by substitute
Diffstat (limited to 'src/reflist.cpp')
-rw-r--r--src/reflist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reflist.cpp b/src/reflist.cpp
index e60bcc6..ab40b9d 100644
--- a/src/reflist.cpp
+++ b/src/reflist.cpp
@@ -21,7 +21,6 @@
#include "util.h"
#include "ftextstream.h"
#include "definition.h"
-#include <qregexp.h>
/*! Create a list of items that are cross referenced with documentation blocks
* @param listName String representing the name of the list.
@@ -170,7 +169,8 @@ void RefList::generatePage()
// write declaration in case a function with arguments
if (!item->args.isEmpty())
{
- doc += item->args.replace(QRegExp("@"),"@@");
+ // escape @'s in argument list, needed for Java annotations (see issue #6208)
+ doc += substitute(item->args,"@","@@");
}
doc += "</dt><dd> ";
doc += item->text;