if (!file.endsWith(".layout"))
return;
- FileName layoutFile = makeAbsPath(fromqstr(file),
+ FileName layoutFile = support::makeAbsPath(fromqstr(file),
fromqstr(bufferFilepath()));
// load the layout file
if (filename.empty())
return;
- FileName const abs_file(makeAbsPath(filename, fromqstr(bufferFilepath())));
+ FileName const abs_file(support::makeAbsPath(filename, fromqstr(bufferFilepath())));
// try to get it from the file, if possible
string bb = readBB_from_PSFile(abs_file);
string GuiGraphics::readBoundingBox(string const & file)
{
- FileName const abs_file = makeAbsPath(file, fromqstr(bufferFilepath()));
+ FileName const abs_file = support::makeAbsPath(file, fromqstr(bufferFilepath()));
// try to get it from the file, if possible. Zipped files are
// unzipped in the readBB_from_PSFile-Function
bool GuiGraphics::isFileNameValid(string const & fname) const
{
// It may be that the filename is relative.
- return makeAbsPath(fname, fromqstr(bufferFilepath())).isReadableFile();
+ return support::makeAbsPath(fname, fromqstr(bufferFilepath())).isReadableFile();
}
else
// tex file or other text file in verbatim mode
formats.edit(buffer(),
- makeAbsPath(file, support::onlyPath(buffer().absFileName())),
+ support::makeAbsPath(file, support::onlyPath(buffer().absFileName())),
"text");
}