I prefer this style....

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35533 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-09-29 12:19:57 +00:00
parent 1def3de92e
commit 2f1af8892b

View File

@ -2329,9 +2329,9 @@ bool GuiView::closeBuffer(Buffer & buf)
// buffer, we can close or release the child buffers here too.
if (!closing_) {
ListOfBuffers clist = buf.getChildren(false);
ListOfBuffers::const_iterator it = clist.begin();
ListOfBuffers::const_iterator const bend = clist.end();
for (ListOfBuffers::const_iterator it = clist.begin();
it != bend; ++it) {
for (; it != bend; ++it) {
// If a child is dirty, do not close
// without user intervention
//FIXME: should we look in other tabworkareas?