summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-07-21 17:24:35 (GMT)
committerGitHub <noreply@github.com>2016-07-21 17:24:35 (GMT)
commita1575758a8097ca2044b071b7916e6dcb300d83c (patch)
treec027ea32b3e645d32d11bd757f306b2725978c31
parentf650c8fea01b4b95180b74b2e46caa25bd0f7d90 (diff)
parent918cf6871359da9d14dd6d3e7c4d00d6ca9a496e (diff)
downloadDoxygen-a1575758a8097ca2044b071b7916e6dcb300d83c.zip
Doxygen-a1575758a8097ca2044b071b7916e6dcb300d83c.tar.gz
Doxygen-a1575758a8097ca2044b071b7916e6dcb300d83c.tar.bz2
Merge pull request #490 from groleo/master
sqlite3gen: export proper memberdef refid
-rw-r--r--src/sqlite3gen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sqlite3gen.cpp b/src/sqlite3gen.cpp
index 670249e..bf2090c 100644
--- a/src/sqlite3gen.cpp
+++ b/src/sqlite3gen.cpp
@@ -741,7 +741,8 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
//if (def->definitionType()!=Definition::TypeGroup && md->getGroupDef()) return;
QCString memType;
// memberdef
- bindTextParameter(memberdef_insert,":refid",md->anchor().data(),FALSE);
+ QCString refid = md->getOutputFileBase() + "_1" + md->anchor();
+ bindTextParameter(memberdef_insert,":refid", refid.data(),FALSE);
bindIntParameter(memberdef_insert,":kind",md->memberType());
bindIntParameter(memberdef_insert,":prot",md->protection());