diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-12-03 18:14:19 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-12-03 18:14:19 (GMT) |
commit | e48f695c385ccc356e124ac3a851a6228f4f5b84 (patch) | |
tree | 018e8f5de990aedc2ea2b98065d07bc92253a8f1 /src/docparser.cpp | |
parent | 645cc7c6f75bdad11ceb129d135b5b01f34c3212 (diff) | |
download | Doxygen-e48f695c385ccc356e124ac3a851a6228f4f5b84.zip Doxygen-e48f695c385ccc356e124ac3a851a6228f4f5b84.tar.gz Doxygen-e48f695c385ccc356e124ac3a851a6228f4f5b84.tar.bz2 |
Release-1.7.6
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 17c1461..480a77a 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -962,7 +962,7 @@ static int handleAHref(DocNode *parent,QList<DocNode> &children,const HtmlAttrib // and remove the href attribute bool result = attrList.remove(index); ASSERT(result); - DocHRef *href = new DocHRef(parent,attrList,opt->value); + DocHRef *href = new DocHRef(parent,attrList,opt->value,g_relPath); children.append(href); g_insideHtmlLink=TRUE; retval = href->parse(); @@ -2740,9 +2740,11 @@ void DocMscFile::parse() //--------------------------------------------------------------------------- -DocImage::DocImage(DocNode *parent,const HtmlAttribList &attribs,const QCString &name,Type t) : +DocImage::DocImage(DocNode *parent,const HtmlAttribList &attribs,const QCString &name, + Type t,const QCString &url) : m_attribs(attribs), m_name(name), - m_type(t), m_relPath(g_relPath) + m_type(t), m_relPath(g_relPath), + m_url(url) { m_parent = parent; } @@ -5463,7 +5465,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta // and remove the src attribute bool result = attrList.remove(index); ASSERT(result); - DocImage *img = new DocImage(this,attrList,opt->value,DocImage::Html); + DocImage *img = new DocImage(this,attrList,opt->value,DocImage::Html,opt->value); m_children.append(img); found = TRUE; } |