]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MacroTable.h
Fix bug #8746: Images have to have alt tags.
[lyx.git] / src / mathed / MacroTable.h
index 88427d68fdf5ed7b8b4f596d8e3e9ce8868d09f0..3a1fed4fa682bb89d833f54d4d4dc1cb6b51e215 100644 (file)
@@ -16,7 +16,6 @@
 #include "DocIterator.h"
 
 #include "support/docstring.h"
-#include "support/types.h"
 
 #include <map>
 #include <set>
@@ -153,9 +152,9 @@ class MacroTable : public std::map<docstring, MacroData>
 {
 public:
        /// Parse full "\\def..." or "\\newcommand..." or ...
-       void insert(Buffer * buf, docstring const & definition, std::string const &);
+       iterator insert(Buffer * buf, docstring const & definition, std::string const &);
        /// Insert pre-digested macro definition
-       void insert(docstring const & name, MacroData const & data);
+       iterator insert(docstring const & name, MacroData const & data);
        ///
        MacroData const * get(docstring const & name) const;
        ///