]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MacroTable.cpp
Move <algorithm> from DocIterator.h
[lyx.git] / src / mathed / MacroTable.cpp
index d279bdb84490c0c0efe4214905f117316babb610..2a4899a258a788336dba48a218ae62feb90ddfe2 100644 (file)
@@ -110,10 +110,10 @@ vector<docstring> const & MacroData::defaults() const
 }
 
 
-string const MacroData::requires() const
+string const MacroData::required() const
 {
        if (sym_)
-               return sym_->requires;
+               return sym_->required;
        return string();
 }
 
@@ -126,6 +126,14 @@ bool MacroData::hidden() const
 }
 
 
+docstring const MacroData::htmlname() const
+{
+       if (sym_)
+               return sym_->htmlname;
+       return docstring();
+}
+
+
 docstring const MacroData::xmlname() const
 {
        if (sym_)