]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarDefaults.C
Dekels tabular/textinset patches
[lyx.git] / src / ToolbarDefaults.C
index c827c598e304eb84209c9822ff9304d0b7a1611a..d92b09e86ffab12c7994dbae20faca5e02804d03 100644 (file)
@@ -30,6 +30,7 @@ using std::endl;
 extern LyXAction lyxaction;
 ToolbarDefaults toolbardefaults;
 
+
 ToolbarDefaults::ToolbarDefaults()
 {
        init();
@@ -41,6 +42,7 @@ void ToolbarDefaults::add(int action)
        defaults.push_back(action);
 }
 
+
 void ToolbarDefaults::init() 
 {
        add(LAYOUTS);
@@ -159,7 +161,7 @@ void ToolbarDefaults::read(LyXLex & lex)
 
 void ToolbarDefaults::add(string const & func)
 {
-       int tf = lyxaction.LookupFunc(func);
+       int const tf = lyxaction.LookupFunc(func);
 
        if (tf == -1) {
                lyxerr << "Toolbar::add: no LyX command called`"