summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-12-25 19:21:37 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-12-25 19:21:37 (GMT)
commit5970cae1c37dc07acb7fd495520e83f20171a821 (patch)
tree7054df5dad72ff0d1b1a97b2ffe17aa638fa9778 /src/util.h
parentb294263f69f56feee519fb95d71e504ea7682c5e (diff)
downloadDoxygen-5970cae1c37dc07acb7fd495520e83f20171a821.zip
Doxygen-5970cae1c37dc07acb7fd495520e83f20171a821.tar.gz
Doxygen-5970cae1c37dc07acb7fd495520e83f20171a821.tar.bz2
Minor fixes
Avoid code duplication by adding function addHtmlExtensionIfMissing() and avoid member shadowing by using 'm_' prefix for member variables
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util.h b/src/util.h
index 0ae53b2..76c0522 100644
--- a/src/util.h
+++ b/src/util.h
@@ -364,9 +364,7 @@ QCString linkToText(SrcLangExt lang,const char *link,bool isFileName);
bool checkExtension(const char *fName, const char *ext);
-bool hasExtension(const char *fName);
-bool hasExtension(QCString fName);
-bool hasExtension(QString fName);
+QCString addHtmlExtensionIfMissing(const char *fName);
QCString stripExtensionGeneral(const char *fName, const char *ext);