mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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:
parent
fcdad6f7e7
commit
046a43fe5f
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user