summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-04-19 09:37:17 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-04-19 09:37:17 (GMT)
commit3812ab2aaa336d77a270954727fbfc6928273548 (patch)
treecbc54265e69380388cf4d571f98c1822b1d3f2a8 /src
parentbf4aee305879406d9057864ab7f8938e01ca8bd0 (diff)
parent29ae707794042a97412eaa137fa7b30f2367294d (diff)
downloadDoxygen-3812ab2aaa336d77a270954727fbfc6928273548.zip
Doxygen-3812ab2aaa336d77a270954727fbfc6928273548.tar.gz
Doxygen-3812ab2aaa336d77a270954727fbfc6928273548.tar.bz2
Merge pull request #331 from groleo/master
xml: use STRIP_FROM_PATH on @file attributes.
Diffstat (limited to 'src')
-rw-r--r--src/xmlgen.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 215b88a..bdb0d0e 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -978,7 +978,7 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
if (md->getDefLine()!=-1)
{
t << " <location file=\""
- << md->getDefFileName() << "\" line=\""
+ << stripFromPath(md->getDefFileName()) << "\" line=\""
<< md->getDefLine() << "\"" << " column=\""
<< md->getDefColumn() << "\"" ;
if (md->getStartBodyLine()!=-1)
@@ -1404,7 +1404,7 @@ static void generateXMLForClass(ClassDef *cd,FTextStream &ti)
t << " </collaborationgraph>" << endl;
}
t << " <location file=\""
- << cd->getDefFileName() << "\" line=\""
+ << stripFromPath(cd->getDefFileName()) << "\" line=\""
<< cd->getDefLine() << "\"" << " column=\""
<< cd->getDefColumn() << "\"" ;
if (cd->getStartBodyLine()!=-1)
@@ -1492,7 +1492,7 @@ static void generateXMLForNamespace(NamespaceDef *nd,FTextStream &ti)
writeXMLDocBlock(t,nd->docFile(),nd->docLine(),nd,0,nd->documentation());
t << " </detaileddescription>" << endl;
t << " <location file=\""
- << nd->getDefFileName() << "\" line=\""
+ << stripFromPath(nd->getDefFileName()) << "\" line=\""
<< nd->getDefLine() << "\"" << " column=\""
<< nd->getDefColumn() << "\"/>" << endl ;
t << " </compounddef>" << endl;
@@ -1634,7 +1634,7 @@ static void generateXMLForFile(FileDef *fd,FTextStream &ti)
writeXMLCodeBlock(t,fd);
t << " </programlisting>" << endl;
}
- t << " <location file=\"" << fd->getDefFileName() << "\"/>" << endl;
+ t << " <location file=\"" << stripFromPath(fd->getDefFileName()) << "\"/>" << endl;
t << " </compounddef>" << endl;
t << "</doxygen>" << endl;
@@ -1748,7 +1748,7 @@ static void generateXMLForDir(DirDef *dd,FTextStream &ti)
t << " <detaileddescription>" << endl;
writeXMLDocBlock(t,dd->docFile(),dd->docLine(),dd,0,dd->documentation());
t << " </detaileddescription>" << endl;
- t << " <location file=\"" << dd->name() << "\"/>" << endl;
+ t << " <location file=\"" << stripFromPath(dd->name()) << "\"/>" << endl;
t << " </compounddef>" << endl;
t << "</doxygen>" << endl;