* 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.
*/
#include "support/debug.h"
-#include <boost/assert.hpp>
+#include "support/lassert.h"
#include <sstream>
redefinition_(false), type_(MacroTypeNewcommand)
{
queryData(macro);
-}
+}
void MacroData::expand(vector<MathData> const & args, MathData & to) const
void MacroData::unlock() const
{
--lockCount_;
- BOOST_ASSERT(lockCount_ >= 0);
+ LASSERT(lockCount_ >= 0, /**/);
}
redefinition_ = macro.redefinition();
type_ = macro.type();
optionals_ = macro.numOptionals();
- macro.getDefaults(defaults_);
+
+ macro.getDefaults(defaults_);
}
if (queried_)
return;
- BOOST_ASSERT(buffer_ != 0);
+ LASSERT(buffer_ != 0, /**/);
// Try to fix position DocIterator. Should not do anything in theory.
pos_.fixIfBroken();
}
// 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);
}