]> 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 1d14c077d34654005c35d15ee9c2d9c57b4f1cb4..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);
@@ -435,7 +432,7 @@ Buffer * BufferList::getBufferFromTmp(string const & s)
 }
 
 
-void BufferList::setCurrentAuthor(string const & name, string const & email)
+void BufferList::setCurrentAuthor(docstring const & name, docstring const & email)
 {
        BufferStorage::iterator it = bstore.begin();
        BufferStorage::iterator end = bstore.end();