From 93e131f54f40ada01eb7a1aecad6d8a7194189df Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Thu, 21 May 2015 18:13:42 +0200 Subject: [PATCH] Code simplification. --- src/insets/InsetBibitem.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/insets/InsetBibitem.cpp b/src/insets/InsetBibitem.cpp index a0498994d1..d0a28e73fe 100644 --- a/src/insets/InsetBibitem.cpp +++ b/src/insets/InsetBibitem.cpp @@ -195,8 +195,7 @@ void InsetBibitem::doDispatch(Cursor & cur, FuncRequest & cmd) void InsetBibitem::read(Lexer & lex) { - InsetCommandParams * icp = const_cast(¶ms()); - icp->Read(lex, &buffer()); + InsetCommand::read(lex); if (prefixIs(getParam("key"), key_prefix)) { int const key = convert(getParam("key").substr(key_prefix.length())); -- 2.39.5