-/*
+/**
* \file Previews.C
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author Angus Leeming <leeming@lyx.org>
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
*/
#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include "Previews.h"
#include "PreviewLoader.h"
Buffer::inset_iterator it = buffer.inset_const_iterator_begin();
Buffer::inset_iterator end = buffer.inset_const_iterator_end();
- for (; it != end; ++it) {
- (*it)->addPreview(ploader);
- }
+ for (; it != end; ++it)
+ it->addPreview(ploader);
ploader.startLoading();
}