mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
75b485d110
commit
da6d2de0ba
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -227,7 +227,7 @@ dispatch_result InsetGraphics::localDispatch(FuncRequest const & cmd)
|
||||
return DISPATCHED;
|
||||
|
||||
default:
|
||||
return InsetOld::localDispatch(cmd);
|
||||
return UNDISPATCHED;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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*";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user