summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/util.cpp b/src/util.cpp
index c813636..3d38396 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -6564,14 +6564,9 @@ bool checkExtension(const char *fName, const char *ext)
return (QCString(fName).right(QCString(ext).length())==ext);
}
-//QCString stripExtension(const char *fName, const char *ext)
QCString stripExtensionGeneral(const char *fName, const char *ext)
{
QCString result=fName;
- //if (result.right(Doxygen::htmlFileExtension.length())==Doxygen::htmlFileExtension)
- //{
- //result=result.left(result.length()-Doxygen::htmlFileExtension.length());
- //}
if (result.right(QCString(ext).length())==QCString(ext))
{
result=result.left(result.length()-QCString(ext).length());