mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
needsCProtection(): check all insets.
This commit is contained in:
parent
52d7322d92
commit
c082c3a0f6
@ -3402,7 +3402,8 @@ bool Paragraph::needsCProtection() const
|
|||||||
pos_type size = d->text_.size();
|
pos_type size = d->text_.size();
|
||||||
for (pos_type i = 0; i < size; ++i)
|
for (pos_type i = 0; i < size; ++i)
|
||||||
if (isInset(i))
|
if (isInset(i))
|
||||||
return getInset(i)->needsCProtection();
|
if (getInset(i)->needsCProtection())
|
||||||
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user