]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcommand.C
ws changes only
[lyx.git] / src / insets / insetcommand.C
index acc2033c2c29baa1d54c2d2a7d0cee2d42a19862..6eff3dc6a5941a8e09f4711f28b5747cd45ca1e8 100644 (file)
@@ -33,12 +33,6 @@ InsetCommand::InsetCommand(InsetCommandParams const & p)
 {}
 
 
-BufferView * InsetCommand::view() const
-{
-       return button_.view();
-}
-
-
 void InsetCommand::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        if (!set_label_) {
@@ -112,7 +106,7 @@ dispatch_result InsetCommand::localDispatch(FuncRequest const & cmd)
                return localDispatch(FuncRequest(cmd.view(), LFUN_INSET_EDIT));
 
        default:
-               return InsetOld::localDispatch(cmd);
+               return UNDISPATCHED;
        }
 
 }