mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
9d43d32240
commit
266ad9501d
@ -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] = '.';
|
||||
}
|
||||
|
@ -1157,9 +1157,9 @@ bool DocFileName::isZipped() const
|
||||
}
|
||||
|
||||
|
||||
string DocFileName::unzippedFilename() const
|
||||
string DocFileName::unzippedFileName() const
|
||||
{
|
||||
return unzippedFileName(absFileName());
|
||||
return support::unzippedFileName(absFileName());
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user