mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +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
|
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
|
#ifdef HAVE_LOCALE
|
||||||
// Use the standard "C" locale for file output.
|
// Use the standard "C" locale for file output.
|
||||||
ofs.imbue(locale::classic());
|
ofs.imbue(locale::classic());
|
||||||
|
Loading…
Reference in New Issue
Block a user