]> git.lyx.org Git - lyx.git/blobdiff - src/bufferlist.C
Scons: update_po target, part one: language_l10n.pot
[lyx.git] / src / bufferlist.C
index f33b00e2c3868a18f1597caf66fe8dfa08a4d0e1..2e86971f4d6be3ad7d6727130197e131a967e504 100644 (file)
@@ -40,7 +40,6 @@ namespace lyx {
 using support::addName;
 using support::bformat;
 using support::FileName;
-using support::makeAbsPath;
 using support::makeDisplayPath;
 using support::onlyFilename;
 using support::removeAutosaveFile;
@@ -316,9 +315,7 @@ void BufferList::updateIncludedTeXfiles(string const & mastertmpdir,
        BufferStorage::iterator end = bstore.end();
        for (; it != end; ++it) {
                if (!(*it)->isDepClean(mastertmpdir)) {
-                       string writefile = mastertmpdir;
-                       writefile += '/';
-                       writefile += (*it)->getLatexName();
+                       string writefile = addName(mastertmpdir, (*it)->getLatexName());
                        (*it)->makeLaTeXFile(FileName(writefile), mastertmpdir,
                                             runparams, false);
                        (*it)->markDepClean(mastertmpdir);