]> git.lyx.org Git - features.git/commitdiff
Revert r33295. This seems to be a not so great idea. The assert already fires when...
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 31 Jan 2010 20:51:15 +0000 (20:51 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 31 Jan 2010 20:51:15 +0000 (20:51 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33301 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp

index 09560ab781feee595b8962e6657c4590c98f1ca7..02634402cf819985d6bdb96cdf7ca9f3fccbea73 100644 (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());