summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-03-15 19:18:42 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-03-15 19:18:42 (GMT)
commit2fcc16df64d2af93fc0bb01617f8531116118e8d (patch)
tree504aa22719248b74962bee0517b645cfabab52d2 /src/definition.cpp
parent5a6400835bc92fb56ef65126785cbe75f092f2d1 (diff)
downloadDoxygen-2fcc16df64d2af93fc0bb01617f8531116118e8d.zip
Doxygen-2fcc16df64d2af93fc0bb01617f8531116118e8d.tar.gz
Doxygen-2fcc16df64d2af93fc0bb01617f8531116118e8d.tar.bz2
Release-1.4.1-20050315
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index c672125..b1b103e 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -29,6 +29,7 @@
#include "code.h"
#include "util.h"
#include "groupdef.h"
+#include "pagedef.h"
#include "section.h"
#if defined(_MSC_VER) || defined(__BORLANDC__)
@@ -789,6 +790,10 @@ void Definition::writePathFragment(OutputList &ol) const
{
ol.writeObjectLink(getReference(),getOutputFileBase(),0,((const GroupDef*)this)->groupTitle());
}
+ else if (definitionType()==Definition::TypePage && !((const PageDef*)this)->title().isEmpty())
+ {
+ ol.writeObjectLink(getReference(),getOutputFileBase(),0,((const PageDef*)this)->title());
+ }
else
{
ol.writeObjectLink(getReference(),getOutputFileBase(),0,m_localName);