]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcommand.C
ws changes only
[lyx.git] / src / insets / insetcommand.C
index b3c80231cc78a79a781b5815e97dd45a75c526e3..6eff3dc6a5941a8e09f4711f28b5747cd45ca1e8 100644 (file)
@@ -20,6 +20,8 @@
 
 #include "support/std_sstream.h"
 
+
+using std::string;
 using std::istringstream;
 using std::ostream;
 using std::ostringstream;
@@ -31,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_) {
@@ -110,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;
        }
 
 }