mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
More safety here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36013 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
01af564dc2
commit
f7e80e6681
@ -534,6 +534,8 @@ VSpace const & BufferParams::getDefSkip() const
|
||||
|
||||
void BufferParams::setDefSkip(VSpace const & vs)
|
||||
{
|
||||
// DEFSKIP will cause an infinite loop
|
||||
LASSERT(vs.kind() != VSpace::DEFSKIP, return);
|
||||
pimpl_->defskip = vs;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user