]> git.lyx.org Git - features.git/blobdiff - src/mathed/MacroTable.cpp
more latin1..utf8 schanges. all of src/* should be utf8 now
[features.git] / src / mathed / MacroTable.cpp
index b4dfb13b15a36b2e51464398021a881723bdfaa4..efb111f84f4741ba3c23d2e0d3a8cebeb5875b90 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -25,7 +25,7 @@
 
 #include "support/debug.h"
 
-#include <boost/assert.hpp>
+#include "support/lassert.h"
 
 #include <sstream>
 
@@ -107,7 +107,7 @@ vector<docstring> const &  MacroData::defaults() const
 void MacroData::unlock() const
 {
        --lockCount_;
-       BOOST_ASSERT(lockCount_ >= 0);
+       LASSERT(lockCount_ >= 0, /**/);
 }
 
 
@@ -133,7 +133,7 @@ void MacroData::updateData() const
        if (queried_)
                return;
 
-       BOOST_ASSERT(buffer_ != 0);
+       LASSERT(buffer_ != 0, /**/);
        
        // Try to fix position DocIterator. Should not do anything in theory.
        pos_.fixIfBroken();
@@ -162,9 +162,9 @@ void MacroData::write(odocstream & os, bool overwriteRedefinition) const
        }
                
        // output template
-       MathMacroTemplate const & tmpl 
-       = static_cast<MathMacroTemplate const &>(*inset);
-       WriteStream wi(os, false, true);
+       MathMacroTemplate const & tmpl =
+               static_cast<MathMacroTemplate const &>(*inset);
+       WriteStream wi(os, false, true, false);
        tmpl.write(wi, overwriteRedefinition);
 }