]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.C
don't rm emergency saves ever
[lyx.git] / src / buffer.C
index faa21353ebae61b0d009b5ef1010382eb32bfe2a..731e538c1c756f3e3345ebea7db34efdbd7a957a 100644 (file)
@@ -1037,7 +1037,7 @@ void Buffer::makeLaTeXFile(ostream & os,
        texrow.reset();
        // The starting paragraph of the coming rows is the
        // first paragraph of the document. (Asger)
-       texrow.start(&*(paragraphs.begin()), 0);
+       texrow.start(paragraphs.begin()->id(), 0);
 
        if (!only_body && nice) {
                os << "%% " << lyx_docversion << " created this file.  "