3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
14 #include "InsetMath.h"
26 MathAtom::MathAtom(Inset * p)
27 : nucleus_(static_cast<InsetMath *>(p))
31 MathAtom::MathAtom(MathAtom const & at)
35 nucleus_ = static_cast<InsetMath*>(at.nucleus_->clone());
39 MathAtom & MathAtom::operator=(MathAtom const & at)
44 swap(tmp.nucleus_, nucleus_);