mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
warning fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22939 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8e831bb602
commit
b546fff555
@ -2519,14 +2519,14 @@ Inset * Paragraph::releaseInset(pos_type pos)
|
||||
|
||||
Inset * Paragraph::getInset(pos_type pos)
|
||||
{
|
||||
return (pos < d->text_.size() && d->text_[pos] == META_INSET)
|
||||
return (pos < pos_type(d->text_.size()) && d->text_[pos] == META_INSET)
|
||||
? d->insetlist_.get(pos) : 0;
|
||||
}
|
||||
|
||||
|
||||
Inset const * Paragraph::getInset(pos_type pos) const
|
||||
{
|
||||
return (pos < d->text_.size() && d->text_[pos] == META_INSET)
|
||||
return (pos < pos_type(d->text_.size()) && d->text_[pos] == META_INSET)
|
||||
? d->insetlist_.get(pos) : 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user