]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MacroTable.cpp
Make macro xhtml export more secure
[lyx.git] / src / mathed / MacroTable.cpp
index d94c018166e8a898c4db4d5bbc8aa64815fc564f..24c9e07a5eacaef91d41dd9f887d0f78bc60338a 100644 (file)
@@ -119,6 +119,20 @@ string const MacroData::requires() const
 }
 
 
+docstring const MacroData::xmlname() const
+{
+       if (sym_)
+               return sym_->xmlname;
+       return docstring();
+}
+
+
+char const * MacroData::MathMLtype() const
+{
+       return sym_ ? sym_->MathMLtype() : 0;
+}
+
+
 void MacroData::unlock() const
 {
        --lockCount_;