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.
13 #include "math_atom.h"
14 #include "math_inset.h"
24 MathAtom::MathAtom(InsetBase * p)
25 : nucleus_(static_cast<InsetMath *>(p))
29 MathAtom::MathAtom(MathAtom const & at)
33 nucleus_ = static_cast<InsetMath*>(at.nucleus_->clone().release());
37 MathAtom & MathAtom::operator=(MathAtom const & at)
42 swap(tmp.nucleus_, nucleus_);