]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/command_inset.C
the DocIterator stuff
[lyx.git] / src / mathed / command_inset.C
index 811f2d17c17d2d89d110c6a5e53f094011def766..eaf57d62304e685839fc31d6084bd709fc22e10e 100644 (file)
@@ -13,6 +13,7 @@
 #include "command_inset.h"
 #include "math_data.h"
 #include "math_mathmlstream.h"
+#include "dispatchresult.h"
 #include "funcrequest.h"
 #include "support/std_sstream.h"
 
@@ -52,16 +53,6 @@ void CommandInset::draw(PainterInfo & pi, int x, int y) const
        button_.draw(pi, x, y);
 }
 
-dispatch_result
-CommandInset::dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos)
-{
-       switch (cmd.action) {
-               default:
-                       return MathNestInset::priv_dispatch(cmd, idx, pos);
-       }
-       return UNDISPATCHED;
-}
-
 
 void CommandInset::write(WriteStream & os) const
 {