X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetbibitem.C;h=89346660f835a460c6f43fd67d8cc08e06bbaa38;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=41a162e7e89eaa056143b69f62dcd32d0ffe4572;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/insets/insetbibitem.C b/src/insets/insetbibitem.C index 41a162e7e8..89346660f8 100644 --- a/src/insets/insetbibitem.C +++ b/src/insets/insetbibitem.C @@ -66,9 +66,8 @@ void InsetBibitem::doDispatch(LCursor & cur, FuncRequest & cmd) break; } if (p["key"] != params()["key"]) - // FIXME UNICODE - cur.bv().buffer()->changeRefsIfUnique(to_utf8(params()["key"]), - to_utf8(p["key"]), InsetBase::CITE_CODE); + cur.bv().buffer()->changeRefsIfUnique(params()["key"], + p["key"], InsetBase::CITE_CODE); setParams(p); } @@ -99,7 +98,7 @@ void InsetBibitem::read(Buffer const & buf, LyXLex & lex) docstring const InsetBibitem::getBibLabel() const { docstring const & label = getParam("label"); - return label.empty() ? convert(counter) : label; + return label.empty() ? convert(counter) : label; }