mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Code simplification.
This commit is contained in:
parent
613cd431c9
commit
93e131f54f
@ -195,8 +195,7 @@ void InsetBibitem::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
|
||||
void InsetBibitem::read(Lexer & lex)
|
||||
{
|
||||
InsetCommandParams * icp = const_cast<InsetCommandParams *>(¶ms());
|
||||
icp->Read(lex, &buffer());
|
||||
InsetCommand::read(lex);
|
||||
|
||||
if (prefixIs(getParam("key"), key_prefix)) {
|
||||
int const key = convert<int>(getParam("key").substr(key_prefix.length()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user