From: Lars Gullik Bjønnes Date: Mon, 13 Oct 2003 01:53:45 +0000 (+0000) Subject: do not call InsetOld::localDispatch X-Git-Tag: 1.6.10~15965 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=da6d2de0ba0ca38ec41df630930e95b1039fbb5e;p=lyx.git do not call InsetOld::localDispatch git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7901 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index d8d11b9102..c6ee2bb084 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,10 @@ +2003-10-13 Lars Gullik Bjønnes + + * insetinclude.C (localDispatch): do not call + InsetOld::localDispatch, just return UNDISPATCHED + * insetgraphics.C (localDispatch): ditto + * insetcommand.C (localDispatch): ditto + 2003-10-13 Lars Gullik Bjønnes * inset.h: get rid of RESULT typedef for dispatch_result diff --git a/src/insets/insetcommand.C b/src/insets/insetcommand.C index b39930f7e3..6eff3dc6a5 100644 --- a/src/insets/insetcommand.C +++ b/src/insets/insetcommand.C @@ -106,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; } } diff --git a/src/insets/insetgraphics.C b/src/insets/insetgraphics.C index 6cc2a3415d..4312834269 100644 --- a/src/insets/insetgraphics.C +++ b/src/insets/insetgraphics.C @@ -227,7 +227,7 @@ dispatch_result InsetGraphics::localDispatch(FuncRequest const & cmd) return DISPATCHED; default: - return InsetOld::localDispatch(cmd); + return UNDISPATCHED; } } diff --git a/src/insets/insetinclude.C b/src/insets/insetinclude.C index 5d4dee35bb..fe570b36cd 100644 --- a/src/insets/insetinclude.C +++ b/src/insets/insetinclude.C @@ -135,7 +135,7 @@ dispatch_result InsetInclude::localDispatch(FuncRequest const & cmd) return DISPATCHED; default: - return InsetOld::localDispatch(cmd); + return UNDISPATCHED; } } @@ -174,7 +174,7 @@ Types type(InsetCommandParams const & params) bool isVerbatim(InsetCommandParams const & params) { string const command_name = params.getCmdName(); - return command_name == "verbatiminput" || + return command_name == "verbatiminput" || command_name == "verbatiminput*"; }