mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 05:40:59 +00:00
* src/changes.C: remove obsolete check for empty table
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16053 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e4a14449cd
commit
f498cd23af
@ -232,9 +232,6 @@ void Changes::insert(Change const & change, lyx::pos_type pos)
|
|||||||
|
|
||||||
Change const Changes::lookup(pos_type const pos) const
|
Change const Changes::lookup(pos_type const pos) const
|
||||||
{
|
{
|
||||||
if (table_.empty()) {
|
|
||||||
return Change(Change::UNCHANGED);
|
|
||||||
}
|
|
||||||
ChangeTable::const_iterator it = table_.begin();
|
ChangeTable::const_iterator it = table_.begin();
|
||||||
ChangeTable::const_iterator const end = table_.end();
|
ChangeTable::const_iterator const end = table_.end();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user