mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Filename.relFilename -> Filename.relFileName
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34235 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
62ca7f3ae5
commit
e5fc2cbdc6
@ -550,7 +550,7 @@ string InsetGraphics::prepareFile(OutputParams const & runparams) const
|
||||
|
||||
string const orig_file = params().filename.absFileName();
|
||||
// this is for dryrun and display purposes, do not use latexFilename
|
||||
string const rel_file = params().filename.relFilename(buffer().filePath());
|
||||
string const rel_file = params().filename.relFileName(buffer().filePath());
|
||||
|
||||
// previewing source code, no file copying or file format conversion
|
||||
if (runparams.dryrun)
|
||||
@ -980,7 +980,7 @@ void InsetGraphics::validate(LaTeXFeatures & features) const
|
||||
if (features.runparams().nice) {
|
||||
Buffer const * masterBuffer = features.buffer().masterBuffer();
|
||||
string const rel_file = removeExtension(
|
||||
params().filename.relFilename(masterBuffer->filePath()));
|
||||
params().filename.relFileName(masterBuffer->filePath()));
|
||||
if (contains(rel_file, "."))
|
||||
features.require("lyxdot");
|
||||
}
|
||||
|
@ -1072,7 +1072,7 @@ void DocFileName::erase()
|
||||
}
|
||||
|
||||
|
||||
string DocFileName::relFilename(string const & path) const
|
||||
string DocFileName::relFileName(string const & path) const
|
||||
{
|
||||
// FIXME UNICODE
|
||||
return to_utf8(relPath(path));
|
||||
@ -1081,7 +1081,7 @@ string DocFileName::relFilename(string const & path) const
|
||||
|
||||
string DocFileName::outputFilename(string const & path) const
|
||||
{
|
||||
return save_abs_path_ ? absFileName() : relFilename(path);
|
||||
return save_abs_path_ ? absFileName() : relFileName(path);
|
||||
}
|
||||
|
||||
|
||||
|
@ -263,7 +263,7 @@ public:
|
||||
///
|
||||
bool saveAbsPath() const { return save_abs_path_; }
|
||||
/// \param buffer_path if empty, uses `pwd`
|
||||
std::string relFilename(std::string const & buffer_path = empty_string()) const;
|
||||
std::string relFileName(std::string const & buffer_path = empty_string()) const;
|
||||
/// \param buf_path if empty, uses `pwd`
|
||||
std::string outputFilename(std::string const & buf_path = empty_string()) const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user