mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
fix warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22536 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0ea17620dc
commit
cf2656e026
@ -71,7 +71,7 @@ bool GuiIdListModel::insertRows(int row, int count,
|
||||
bool GuiIdListModel::removeRows(int row, int count,
|
||||
QModelIndex const & /*parent*/)
|
||||
{
|
||||
if (!rowIsValid(row) || row + count > userData_.size() ||
|
||||
if (!rowIsValid(row) || row + count > int(userData_.size()) ||
|
||||
count < 0)
|
||||
return false;
|
||||
if (count == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user