3 * Purpose: Wrapper for MathInset *
7 * Copyright: 2001 The LyX team
11 * You are free to use and modify this code under the terms of
12 * the GNU General Public Licence version 2 or later.
18 #pragma implementation
21 #include "math_atom.h"
22 #include "math_inset.h"
32 MathAtom::MathAtom(MathInset * p)
37 MathAtom::MathAtom(MathAtom const & at)
38 : nucleus_(at.nucleus_ ? at.nucleus_->clone() : 0)
42 void MathAtom::operator=(MathAtom const & at)
47 std::swap(tmp.nucleus_, nucleus_);