]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formulabase.C
fix build, thesaurus
[lyx.git] / src / mathed / formulabase.C
index 13e92157c053988393acd3033b7fcbdf1d93492c..d26933e0e556ebfa27aa0bd8ad10cbf94406a025 100644 (file)
@@ -378,6 +378,8 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
        case LFUN_RIGHT:
                result = mathcursor->right(sel) ? DISPATCHED : FINISHED_RIGHT;
                updateLocal(bv, false);
+               // write something to the minibuffer
+               //bv->owner()->message(mathcursor->info());
                break;
 
 
@@ -726,7 +728,7 @@ int InsetFormulaBase::xhigh() const
 
 
 bool InsetFormulaBase::searchForward(BufferView * bv, string const & str,
-                   bool const &, bool const &)
+                                    bool, bool)
 {
 #ifdef WITH_WARNINGS
 #warning pretty ugly
@@ -773,7 +775,7 @@ bool InsetFormulaBase::searchForward(BufferView * bv, string const & str,
 
 
 bool InsetFormulaBase::searchBackward(BufferView * bv, string const & what,
-                    bool const & a, bool const & b)
+                                     bool a, bool b)
 {
        lyxerr << "searching backward not implemented in mathed" << endl;
        return searchForward(bv, what, a, b);