summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-08-04 09:58:15 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-08-04 09:58:15 (GMT)
commit66d184ce7e93d0c2b27fbb034180bebdbf1c26a1 (patch)
tree13fba2b5912ce3a6a558722a0cbdf53391ec37dd /src/pagedef.cpp
parent4fcc416870f33b3ee00a0cdd156e267746a136f5 (diff)
downloadDoxygen-66d184ce7e93d0c2b27fbb034180bebdbf1c26a1.zip
Doxygen-66d184ce7e93d0c2b27fbb034180bebdbf1c26a1.tar.gz
Doxygen-66d184ce7e93d0c2b27fbb034180bebdbf1c26a1.tar.bz2
Bug 688858 - SHORT_NAMES break references to \page in PDF output
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r--src/pagedef.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index e93b3fd..0133be1 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -61,6 +61,20 @@ QCString PageDef::getOutputFileBase() const
return m_fileName;
}
+void PageDef::setFileName(const char *name)
+{
+ static bool shortNames = Config_getBool("SHORT_NAMES");
+ if (shortNames)
+ {
+ m_fileName = convertNameToFile(name);
+ }
+ else
+ {
+ m_fileName = name;
+ }
+}
+
+
void PageDef::addInnerCompound(Definition *def)
{
if (def->definitionType()==Definition::TypePage)