]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarBackend.cpp
Remove todo
[lyx.git] / src / ToolbarBackend.cpp
index cbe318267df65dfea424d2e91c2ea96b51cb6339..b038623fcb14260b114cc71036b5863fb8f92b4a 100644 (file)
 #include <algorithm>
 
 using namespace std;
+using namespace lyx::support;
 
 namespace lyx {
 
-using support::compare_ascii_no_case;
-using support::getVectorFromString;
-
 namespace {
 
 class ToolbarNamesEqual
@@ -297,6 +295,8 @@ void ToolbarBackend::readToolbarSettings(Lexer & lex)
                                flag = ToolbarInfo::MATH;
                        else if (!compare_ascii_no_case(*cit, "table"))
                                flag = ToolbarInfo::TABLE;
+                       else if (!compare_ascii_no_case(*cit, "mathmacrotemplate"))
+                               flag = ToolbarInfo::MATHMACROTEMPLATE;
                        else if (!compare_ascii_no_case(*cit, "review"))
                                flag = ToolbarInfo::REVIEW;
                        else if (!compare_ascii_no_case(*cit, "top"))