]> git.lyx.org Git - lyx.git/blobdiff - src/counters.C
Replace 'using namespace abc;' with 'using abc::xyz;'
[lyx.git] / src / counters.C
index 328a279efe5525c11fcc66383df34974f2069128..6d18c383407d02e1b75c7f1791aac5b3f71a143d 100644 (file)
@@ -1,24 +1,29 @@
-/* This file is part of
- * ======================================================
+/**
+ * \file counters.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Lars Gullik Bjønnes
+ * \author Martin Vermeer
  *
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team.
- *
- *
- * ====================================================== */
+ * Full author contact details are available in file CREDITS.
+ */
 
 #include <config.h>
 
 #include "counters.h"
+
 #include "debug.h"
 
 #include "support/lstrings.h"
-#include "support/LAssert.h"
+
+#include <boost/assert.hpp>
+
+#include "support/std_sstream.h"
 
 using std::endl;
-using std::vector;
+
+using std::ostringstream;
 
 
 Counter::Counter()
@@ -168,7 +173,7 @@ void Counters::reset()
 
 void Counters::reset(string const & match)
 {
-       lyx::Assert(!match.empty());
+       BOOST_ASSERT(!match.empty());
 
        CounterList::iterator it = counterList.begin();
        CounterList::iterator end = counterList.end();