Forgot these two.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34237 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-04-21 01:19:23 +00:00
parent b6a764eef3
commit 41b81f09e1
2 changed files with 2 additions and 2 deletions

View File

@ -283,7 +283,7 @@ Buffer * BufferList::getBufferFromTmp(string const & s)
for (; cit < cend; ++cit) {
string const mangled_child_name = DocFileName(
changeExtension((*cit)->absFileName(),
".tex")).mangledFilename();
".tex")).mangledFileName();
if (suffixIs(s, mangled_child_name))
return *cit;
}

View File

@ -1311,7 +1311,7 @@ bool BufferParams::writeLaTeX(odocstream & os, LaTeXFeatures & features,
string incfile = *it;
FileName inc = makeAbsPath(incfile, filepath.absFileName());
string mangled = DocFileName(changeExtension(inc.absFileName(), ".tex")).
mangledFilename();
mangledFileName();
if (!features.runparams().nice)
incfile = mangled;
// \includeonly doesn't want an extension