]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Timeout.C
Rename .C ==> .cpp for files in src/frontends, part one
[lyx.git] / src / frontends / Timeout.C
index 9d7052fe548e9ed7e6a353ae26b613e3c1e96734..7ef659b3d9482d6e2c5411cb61639e41791b0ff7 100644 (file)
@@ -1,20 +1,20 @@
 /**
- * \file Timeout.C
+ * \file Timeout.cpp
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
  * \author Lars Gullik Bjønnes
  * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
 #include "Timeout.h"
-#include "support/LAssert.h"
 
-using namespace lyx::support;
+
+namespace lyx {
 
 
 Timeout::~Timeout()
@@ -67,8 +67,11 @@ Timeout & Timeout::setType(Type t)
 Timeout & Timeout::setTimeout(unsigned int msec)
 {
        // Can't have a timeout of zero!
-       Assert(msec);
+       BOOST_ASSERT(msec);
 
        timeout_ms = msec;
        return * this;
 }
+
+
+} // namespace lyx