do not call InsetOld::localDispatch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7901 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2003-10-13 01:53:45 +00:00
parent 75b485d110
commit da6d2de0ba
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
* 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 <larsbj@gullik.net>
* inset.h: get rid of RESULT typedef for dispatch_result

View File

@ -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;
}
}

View File

@ -227,7 +227,7 @@ dispatch_result InsetGraphics::localDispatch(FuncRequest const & cmd)
return DISPATCHED;
default:
return InsetOld::localDispatch(cmd);
return UNDISPATCHED;
}
}

View File

@ -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*";
}