]> git.lyx.org Git - features.git/commitdiff
Revert "Do not pass thru argument of pass-thru layout literally"
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 8 Apr 2013 09:07:02 +0000 (11:07 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 8 Apr 2013 09:07:02 +0000 (11:07 +0200)
This reverts commit 4564c88469a304f4ccf2da60bb82fc6ab85fd439.

The bug is actually elsewhere.

src/Paragraph.cpp

index 6e6d8f902e86398868bcc6d66e027814bfe1380e..fffcfa54bbba61efb780e4bc69b01b448c2f4bd2 100644 (file)
@@ -1045,7 +1045,7 @@ void Paragraph::Private::latexInset(BufferParams const & bparams,
        Inset * inset = owner_->getInset(i);
        LASSERT(inset, /**/);
 
-       if (style.pass_thru && inset->lyxCode() != ARG_CODE) {
+       if (style.pass_thru) {
                odocstringstream ods;
                inset->plaintext(ods, runparams);
                os << ods.str();