summaryrefslogtreecommitdiffstats
path: root/src/latexdocvisitor.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-03-24 21:24:19 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-03-24 21:24:19 (GMT)
commit02b5f51ef09a211e16e0158e5115ddf5b33d194d (patch)
treea065befb32bff6f5eb381ff808ed70509bd19a09 /src/latexdocvisitor.cpp
parentf12fe31aed103718f5d4c368473302cc6ac82a47 (diff)
downloadDoxygen-02b5f51ef09a211e16e0158e5115ddf5b33d194d.zip
Doxygen-02b5f51ef09a211e16e0158e5115ddf5b33d194d.tar.gz
Doxygen-02b5f51ef09a211e16e0158e5115ddf5b33d194d.tar.bz2
Release-1.3.6-20040324
Diffstat (limited to 'src/latexdocvisitor.cpp')
-rw-r--r--src/latexdocvisitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp
index 30305db..0cb1bae 100644
--- a/src/latexdocvisitor.cpp
+++ b/src/latexdocvisitor.cpp
@@ -904,7 +904,7 @@ void LatexDocVisitor::visitPre(DocXRefItem *x)
m_t << "\\item[";
if (Config_getBool("PDF_HYPERLINKS"))
{
- m_t << "\\hyperlink{" << x->file() << "_" << x->anchor() << "}{";
+ m_t << "\\hyperlink{" << stripPath(x->file()) << "_" << x->anchor() << "}{";
}
else
{
@@ -960,7 +960,7 @@ void LatexDocVisitor::startLink(const QString &ref,const QString &file,const QSt
if (ref.isEmpty() && Config_getBool("PDF_HYPERLINKS"))
{
m_t << "\\hyperlink{";
- if (!file.isEmpty()) m_t << file;
+ if (!file.isEmpty()) m_t << stripPath(file);
if (!file.isEmpty() && !anchor.isEmpty()) m_t << "_";
if (!anchor.isEmpty()) m_t << anchor;
m_t << "}{";