]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formulamacro.C
introduce namespace lyx::support
[lyx.git] / src / mathed / formulamacro.C
index a04e1b09488243a430768fe4e483a6f221b1964e..da8943bacf13f298adc8d319b81fd0868df95099 100644 (file)
@@ -36,6 +36,8 @@
 #include "lyxtext.h"
 #include "Lsstream.h"
 
+using namespace lyx::support;
+
 using std::ostream;
 
 extern MathCursor * mathcursor;
@@ -62,18 +64,12 @@ InsetFormulaMacro::InsetFormulaMacro(string const & s)
 }
 
 
-Inset * InsetFormulaMacro::clone(Buffer const &) const
+Inset * InsetFormulaMacro::clone() const
 {
        return new InsetFormulaMacro(*this);
 }
 
 
-// Inset * InsetFormulaMacro::clone(Buffer const &, bool) const
-// {
-//     return new InsetFormulaMacro(*this);
-// }
-
-
 void InsetFormulaMacro::write(Buffer const *, ostream & os) const
 {
        os << "FormulaMacro ";