]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Toolbar.C
Move LaTeX and VC logs to GUI-I on xforms
[lyx.git] / src / frontends / Toolbar.C
index 7bf23601a326250f3c1ea1c32f08ac227c8adc39..37ebc67a54ba5bf6ba15b3e64e72136281841f27 100644 (file)
@@ -44,6 +44,7 @@ Toolbar::Toolbar(LyXView * o, int x, int y, ToolbarDefaults const &tbd)
        }
 }
 
+
 Toolbar::~Toolbar()
 {
        delete pimpl_;
@@ -106,7 +107,7 @@ void Toolbar::push(int nth)
 
 void Toolbar::add(string const & func, bool doclean)
 {
-       int tf = lyxaction.LookupFunc(func);
+       int const tf = lyxaction.LookupFunc(func);
 
        if (tf == -1) {
                lyxerr << "Toolbar::add: no LyX command called`"
@@ -115,5 +116,3 @@ void Toolbar::add(string const & func, bool doclean)
                pimpl_->add(tf, doclean);
        }
 }
-
-