}
// Remove any previewed LaTeX snippets associated with this buffer.
- thePreviews()->removeLoader(*this);
+ thePreviews().removeLoader(*this);
delete d;
}
}
catch (...) {
lyxerr << "Caught some really weird exception..." << endl;
- LyX::cref().exit(1);
+ lyx_exit(1);
}
ofs.close();