]> git.lyx.org Git - lyx.git/commitdiff
some compile fixes, more to be expected
authorAndré Pönitz <poenitz@gmx.net>
Sun, 22 Oct 2006 11:13:18 +0000 (11:13 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Sun, 22 Oct 2006 11:13:18 +0000 (11:13 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15466 a592a061-630c-0410-9148-cb99ea01b6c8

src/paragraph.C

index 23d7d11404762f9bd9e6ed738643f5f4a936b9f5..43a4f2722284a28f3bbad480867c224ff6110a2d 100644 (file)
@@ -1158,7 +1158,7 @@ string Paragraph::getID(Buffer const & buf, OutputParams const & runparams) cons
                        InsetBase::Code lyx_code = inset->lyxCode();
                        if (lyx_code == InsetBase::LABEL_CODE) {
                                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))) + "'";
                        }
                }