some compile fixes, more to be expected

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15466 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2006-10-22 11:13:18 +00:00
parent eaa81aa13e
commit e0ec0f1efa

View File

@ -1158,7 +1158,7 @@ string Paragraph::getID(Buffer const & buf, OutputParams const & runparams) cons
InsetBase::Code lyx_code = inset->lyxCode(); InsetBase::Code lyx_code = inset->lyxCode();
if (lyx_code == InsetBase::LABEL_CODE) { if (lyx_code == InsetBase::LABEL_CODE) {
string const id = static_cast<InsetCommand const *>(inset)->getContents(); string const id = static_cast<InsetCommand const *>(inset)->getContents();
return "id=\"" + sgml::cleanID(buf, runparams, id) + "\""; return "id='" + to_utf8(sgml::cleanID(buf, runparams, from_utf8(id))) + "'";
} }
} }