mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
Make sure we write a valid file even if InsetFlex is undefined.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22989 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b76e95b942
commit
3dc5bc09dd
@ -78,7 +78,8 @@ docstring const InsetFlex::editMessage() const
|
|||||||
|
|
||||||
void InsetFlex::write(Buffer const & buf, ostream & os) const
|
void InsetFlex::write(Buffer const & buf, ostream & os) const
|
||||||
{
|
{
|
||||||
os << "Flex " << name_ << "\n";
|
os << "Flex " <<
|
||||||
|
name_.empty() ? "undefined" : name_ << "\n";
|
||||||
InsetCollapsable::write(buf, os);
|
InsetCollapsable::write(buf, os);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user