]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDelim.cpp
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / InsetMathDelim.cpp
index a0f6aaad5d3a6b69de89588a5a405e27137fe91f..af612d5e9fbbf8b3e658a7acb1b9b7d726fcd3cf 100644 (file)
@@ -31,7 +31,7 @@ static docstring convertDelimToLatexName(docstring const & name)
 {
        if (name.size() == 1) {
                char_type const c = name[0];
-               if (c == '<' || c == '(' || c == '[' || c == '.' 
+               if (c == '<' || c == '(' || c == '[' || c == '.'
                    || c == '>' || c == ')' || c == ']' || c == '/' || c == '|')
                        return name;
        }
@@ -45,16 +45,16 @@ InsetMathDelim::InsetMathDelim(docstring const & l, docstring const & r)
 
 
 InsetMathDelim::InsetMathDelim
-               (docstring const & l, docstring const & r, MathArray const & ar)
+               (docstring const & l, docstring const & r, MathData const & ar)
        : InsetMathNest(1), left_(l), right_(r)
 {
        cell(0) = ar;
 }
 
 
-auto_ptr<InsetBase> InsetMathDelim::doClone() const
+auto_ptr<Inset> InsetMathDelim::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathDelim(*this));
+       return auto_ptr<Inset>(new InsetMathDelim(*this));
 }