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"
27 MathAtom::MathAtom(InsetBase * p)
28 : nucleus_(static_cast<InsetMath *>(p))
32 MathAtom::MathAtom(MathAtom const & at)
36 nucleus_ = static_cast<InsetMath*>(at.nucleus_->clone().release());
40 MathAtom & MathAtom::operator=(MathAtom const & at)
45 swap(tmp.nucleus_, nucleus_);