DocFileName::unzippedFilename -> DocFileName::unzippedFileName

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34239 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-04-21 01:19:26 +00:00
parent 9d43d32240
commit 266ad9501d
3 changed files with 4 additions and 4 deletions

View File

@ -495,7 +495,7 @@ copyToDirIfNeeded(DocFileName const & file, string const & dir)
// extension removed, because base.eps and base.eps.gz may
// have different content but would get the same mangled
// name in this case.
string const base = removeExtension(file.unzippedFilename());
string const base = removeExtension(file.unzippedFileName());
string::size_type const ext_len = file_in.length() - base.length();
mangled[mangled.length() - ext_len] = '.';
}

View File

@ -1157,9 +1157,9 @@ bool DocFileName::isZipped() const
}
string DocFileName::unzippedFilename() const
string DocFileName::unzippedFileName() const
{
return unzippedFileName(absFileName());
return support::unzippedFileName(absFileName());
}

View File

@ -293,7 +293,7 @@ public:
/// \return true if the file is compressed.
bool isZipped() const;
/// \return the absolute file name without its .gz, .z, .Z extension
std::string unzippedFilename() const;
std::string unzippedFileName() const;
private:
/// Records whether we should save (or export) the filename as a relative