From 046a43fe5fbe0f438f7b7aae82000687cb04b0d0 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sun, 31 Jan 2010 20:51:15 +0000 Subject: [PATCH] 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 --- src/Buffer.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 09560ab781..02634402cf 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -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()); -- 2.39.2