mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40199 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4368237595
commit
bfad09a073
@ -180,8 +180,8 @@ Buffer * BufferList::next(Buffer const * buf) const
|
||||
|
||||
if (bstore.empty())
|
||||
return 0;
|
||||
BufferStorage::const_iterator it = find(bstore.begin(),
|
||||
bstore.end(), buf);
|
||||
BufferStorage::const_iterator it =
|
||||
find(bstore.begin(), bstore.end(), buf);
|
||||
LASSERT(it != bstore.end(), /**/);
|
||||
++it;
|
||||
Buffer * nextbuf = (it == bstore.end()) ? bstore.front() : *it;
|
||||
@ -195,8 +195,8 @@ Buffer * BufferList::previous(Buffer const * buf) const
|
||||
|
||||
if (bstore.empty())
|
||||
return 0;
|
||||
BufferStorage::const_iterator it = find(bstore.begin(),
|
||||
bstore.end(), buf);
|
||||
BufferStorage::const_iterator it =
|
||||
find(bstore.begin(), bstore.end(), buf);
|
||||
LASSERT(it != bstore.end(), /**/);
|
||||
|
||||
Buffer * previousbuf = (it == bstore.begin()) ? bstore.back() : *(it - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user