]> git.lyx.org Git - lyx.git/blobdiff - src/bufferlist.C
* output_plaintext.C: cosmetics in comment: line length cannot be < 0
[lyx.git] / src / bufferlist.C
index 66d930aabd082ff5b950de129af6e5b4d0e30d38..d38fdc9cf45554ce21a5612db983fd0ea5464c76 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;
@@ -160,7 +159,7 @@ bool BufferList::quitWriteAll()
                // if master/slave are both open, do not save slave since it
                // will be automatically loaded when the master is loaded
                if ((*it)->getMasterBuffer() == (*it))
-                       LyX::ref().session().lastOpened().add((*it)->fileName());
+                       LyX::ref().session().lastOpened().add(FileName((*it)->fileName()));
        }
 
        return true;
@@ -319,7 +318,7 @@ void BufferList::updateIncludedTeXfiles(string const & mastertmpdir,
                        string writefile = mastertmpdir;
                        writefile += '/';
                        writefile += (*it)->getLatexName();
-                       (*it)->makeLaTeXFile(writefile, mastertmpdir,
+                       (*it)->makeLaTeXFile(FileName(writefile), mastertmpdir,
                                             runparams, false);
                        (*it)->markDepClean(mastertmpdir);
                }
@@ -435,7 +434,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();