]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.C
don't rm emergency saves ever
[lyx.git] / src / paragraph.C
index b46293a4dbdd3ee15bec61fa9bb14906016da8a1..f55e38e9dc2b7bdf8a78c72c4d7d6f351e83d73f 100644 (file)
@@ -324,9 +324,9 @@ void Paragraph::eraseIntern(lyx::pos_type pos)
 }
 
 
-void Paragraph::erase(pos_type pos)
+bool Paragraph::erase(pos_type pos)
 {
-       pimpl_->erase(pos);
+       return pimpl_->erase(pos);
 }
 
 
@@ -979,7 +979,7 @@ bool Paragraph::simpleTeXOnePar(Buffer const * buf,
 
        Change::Type running_change = Change::UNCHANGED;
 
-       texrow.start(this, 0);
+       texrow.start(id(), 0);
 
        // if the paragraph is empty, the loop will not be entered at all
        if (empty()) {