Revert r33295. This seems to be a not so great idea. The assert already fires when copying something.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33301 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-01-31 20:51:15 +00:00
parent fcdad6f7e7
commit 046a43fe5f

View File

@ -1118,13 +1118,6 @@ docstring Buffer::emergencyWrite()
bool Buffer::write(ostream & ofs) const
{
// Do not try to save the buffer if it is for some
// reason not fully loaded.
if (!d->file_fully_loaded) {
LYXERR0("WARNING: file was not fully loaded when trying to save.");
LASSERT(d->file_fully_loaded, return false);
}
#ifdef HAVE_LOCALE
// Use the standard "C" locale for file output.
ofs.imbue(locale::classic());