]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.C
Applied Angus patch to compile on DEC C++ and to avoid name clashes
[lyx.git] / src / lyxfunc.C
index 4e352a7ee36e378428fa4091d8a76a1fd74efac6..aad8925e1bf5b2c03e0eef4633378494096ab3f0 100644 (file)
@@ -94,8 +94,6 @@ using std::make_pair;
 using std::endl;
 using std::find_if;
 
-extern void math_insert_symbol(BufferView *, string const &);
-extern bool math_insert_greek(BufferView *, char);
 extern BufferList bufferlist;
 extern LyXServer * lyxserver;
 extern int greek_kb_flag;
@@ -896,11 +894,8 @@ string const LyXFunc::Dispatch(int ac,
                break;
                
        case LFUN_MENUSEARCH:
-       {
                owner->getDialogs()->showSearch();
                break;
-       }
-       break;
                
        case LFUN_REMOVEERRORS:
                if (owner->view()->removeAutoInsets()) {
@@ -1317,10 +1312,8 @@ string const LyXFunc::Dispatch(int ac,
        break;
 
        case LFUN_MATH_PANEL:
-       {
-               show_symbols_form(this);
-       }
-       break;
+               owner->getDialogs()->showMathPanel();
+               break;
        
        case LFUN_CITATION_CREATE:
        {