]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/command_inset.C
bug + spped fixes + small stuff
[lyx.git] / src / mathed / command_inset.C
index 128ad213052408081d5007b38810aee0f183d86a..8ddd8fbe9aff80b96dc6d302888d40f4f986e5a7 100644 (file)
@@ -55,14 +55,13 @@ void CommandInset::draw(PainterInfo & pi, int x, int y) const
 
 
 DispatchResult
-CommandInset::priv_dispatch(FuncRequest const & cmd,
-                           idx_type & idx, pos_type & pos)
+CommandInset::priv_dispatch(LCursor & bv, FuncRequest const & cmd)
 {
        switch (cmd.action) {
                default:
-                       return MathNestInset::priv_dispatch(cmd, idx, pos);
+                       return MathNestInset::priv_dispatch(bv, cmd);
        }
-       return UNDISPATCHED;
+       return DispatchResult(false);
 }