summaryrefslogtreecommitdiffstats
path: root/src/groupdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-02-07 14:35:40 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-02-07 14:35:40 (GMT)
commitd168f8bfef6aac5a71eccad36dced78d55765ae1 (patch)
treeff740e5cb3ad29df2caafd20f7cf7cd6c0c0acae /src/groupdef.cpp
parentee2d6faecab57c1f929d6868ae6eb9bdaa53d654 (diff)
downloadDoxygen-d168f8bfef6aac5a71eccad36dced78d55765ae1.zip
Doxygen-d168f8bfef6aac5a71eccad36dced78d55765ae1.tar.gz
Doxygen-d168f8bfef6aac5a71eccad36dced78d55765ae1.tar.bz2
Optimized use of convertNameToFile to improve performance
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r--src/groupdef.cpp15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index 48acb68..6b6d659 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -61,7 +61,7 @@ GroupDef::GroupDef(const char *df,int dl,const char *na,const char *t,
}
else
{
- fileName = (QCString)"group_"+na;
+ fileName = convertNameToFile(QCString("group_")+na);
}
setGroupTitle( t );
memberGroupSDict = new MemberGroupSDict;
@@ -1509,16 +1509,9 @@ void addExampleToGroups(Entry *root,PageDef *eg)
}
}
-QCString GroupDef::getOutputFileBase() const
-{
- if (isReference())
- {
- return fileName;
- }
- else
- {
- return convertNameToFile(fileName);
- }
+QCString GroupDef::getOutputFileBase() const
+{
+ return fileName;
}
void GroupDef::addListReferences()