mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +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();
|
||||
for (pos_type i = 0; i < size; ++i)
|
||||
if (isInset(i))
|
||||
return getInset(i)->needsCProtection();
|
||||
if (getInset(i)->needsCProtection())
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user