diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index f70a0a9a9b..f480ef726e 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -2854,7 +2854,7 @@ docstring Paragraph::simpleLyXHTMLOnePar(Buffer const & buf, retval += inset->xhtml(xs, np); } } else { - char_type c = d->text_[getUChar(buf.params(), i)]; + char_type c = getUChar(buf.params(), i); if (style.pass_thru) xs << c;