summaryrefslogtreecommitdiffstats
path: root/src/filename.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-07-30 13:58:29 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-07-30 13:58:29 (GMT)
commit3876f92c80e9cc62af30916f0ccdeb83cdc2ff05 (patch)
tree2d71d4688e381dc8e0c968d120b25fdd0763c27e /src/filename.cpp
parent7295388a3c6b3a12a77dc7a56862333c97e4ccb6 (diff)
downloadDoxygen-3876f92c80e9cc62af30916f0ccdeb83cdc2ff05.zip
Doxygen-3876f92c80e9cc62af30916f0ccdeb83cdc2ff05.tar.gz
Doxygen-3876f92c80e9cc62af30916f0ccdeb83cdc2ff05.tar.bz2
Release-1.2.0-20000730
Diffstat (limited to 'src/filename.cpp')
-rw-r--r--src/filename.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/filename.cpp b/src/filename.cpp
index 86db34f..e5f224a 100644
--- a/src/filename.cpp
+++ b/src/filename.cpp
@@ -28,13 +28,6 @@ FileName::~FileName()
{
}
-//static QCString convertSlashes(const char *s)
-//{
-// QCString result=s;
-// int i,l=result.length();
-// for (i=0;i<l;i++) if (result.at(i)=='/') result.at(i)='_';
-// return result;
-//}
void FileName::generateDiskNames()
{
@@ -48,7 +41,7 @@ void FileName::generateDiskNames()
// skip references
while (fd && fd->isReference()) fd=next();
// name if unique, so diskname is simply the name
- fd->diskname=name;
+ fd->diskname=convertFileName(name);
}
else if (count>1) // multiple occurrences of the same file name
{
@@ -90,7 +83,7 @@ void FileName::generateDiskNames()
{
QCString prefix = fd->path.right(fd->path.length()-j-1);
fd->setName(prefix+name);
- fd->diskname=convertSlashes(prefix+name);
+ fd->diskname=convertFileName(prefix+name);
}
fd=next();
}