mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
put UNICODE FIXMEs where they belong
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15689 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
305c1cb25a
commit
bf542320ea
@ -65,13 +65,14 @@ void InsetLabel::doDispatch(LCursor & cur, FuncRequest & cmd)
|
||||
|
||||
case LFUN_INSET_MODIFY: {
|
||||
InsetCommandParams p("label");
|
||||
// FIXME UNICODE
|
||||
InsetCommandMailer::string2params("label", to_utf8(cmd.argument()), p);
|
||||
if (p.getCmdName().empty()) {
|
||||
cur.noUpdate();
|
||||
break;
|
||||
}
|
||||
if (p["name"] != params()["name"])
|
||||
// FIXME UNICODE
|
||||
// FIXME UNICODE
|
||||
cur.bv().buffer()->changeRefsIfUnique(params()["name"],
|
||||
p["name"], InsetBase::REF_CODE);
|
||||
setParams(p);
|
||||
@ -104,7 +105,6 @@ int InsetLabel::plaintext(Buffer const &, odocstream & os,
|
||||
int InsetLabel::docbook(Buffer const & buf, odocstream & os,
|
||||
OutputParams const & runparams) const
|
||||
{
|
||||
// FIXME UNICODE
|
||||
os << "<!-- anchor id=\""
|
||||
<< sgml::cleanID(buf, runparams, getParam("name"))
|
||||
<< "\" -->";
|
||||
|
Loading…
Reference in New Issue
Block a user