]> git.lyx.org Git - lyx.git/blobdiff - src/output_docbook.C
fix two crashes related to dEPM. Some crashes remain
[lyx.git] / src / output_docbook.C
index f398c8b76fa0bfc02e2ee70bf41b7b83a4b970a0..ddb95b08424e8a5ce41b4920bdf8823e8ea384de 100644 (file)
@@ -233,7 +233,7 @@ ParagraphList::const_iterator makeCommand(Buffer const & buf,
        // Label around sectioning number:
        if (!bstyle->labeltag().empty()) {
                sgml::openTag(os, bstyle->labeltag());
-               os << expandLabel(buf.params().getLyXTextClass(), bstyle, false);
+               os << expandLabel(buf, bstyle, false);
                sgml::closeTag(os, bstyle->labeltag());
        }