]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBox.cpp
InsetBox.cpp: fix #4776; the additional \makebox is superfluous because \makebox...
[features.git] / src / insets / InsetBox.cpp
index 2681bcd1739ab15cd5e5604148f7dcc6f20dc8ae..a4a2e606e58e94b9080c94b9a5b33b22d542f7de 100644 (file)
@@ -282,7 +282,6 @@ int InsetBox::latex(odocstream & os, OutputParams const & runparams) const
        case Boxed:
                os << "\\framebox";
                if (!params_.inner_box) {
-                       os << "{\\makebox";
                        // Special widths, see usrguide ยง3.5
                        // FIXME UNICODE
                        if (params_.special != "none") {
@@ -374,8 +373,6 @@ int InsetBox::latex(odocstream & os, OutputParams const & runparams) const
                os << "\\end{framed}";
                break;
        case Boxed:
-               if (!params_.inner_box)
-                       os << "}"; // for makebox
                os << "}";
                break;
        case ovalbox: