prune dead fixFilename() function

Change-Id: I84bafecccec286094701874b2780b45d08797524
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Oswald Buddenhagen 2014-11-24 13:53:47 +01:00
parent 77980b78ab
commit 5932fc4ab8
2 changed files with 0 additions and 17 deletions

View File

@ -1688,22 +1688,6 @@ bool VcprojGenerator::openOutput(QFile &file, const QString &/*build*/) const
return Win32MakefileGenerator::openOutput(file, QString());
}
QString VcprojGenerator::fixFilename(QString ofile) const
{
ofile = Option::fixPathToLocalOS(ofile);
int slashfind = ofile.lastIndexOf(Option::dir_sep);
if(slashfind == -1) {
ofile.replace('-', '_');
} else {
int hyphenfind = ofile.indexOf('-', slashfind);
while (hyphenfind != -1 && slashfind < hyphenfind) {
ofile.replace(hyphenfind, 1, '_');
hyphenfind = ofile.indexOf('-', hyphenfind + 1);
}
}
return ofile;
}
void VcprojGenerator::outputVariables()
{
#if 0

View File

@ -85,7 +85,6 @@ protected:
virtual bool openOutput(QFile &file, const QString &build) const;
virtual void outputVariables();
QString fixFilename(QString ofile) const;
void initOld();
virtual void initProject();