]> git.lyx.org Git - features.git/commitdiff
InsetBox.cpp: fix #4776; the additional \makebox is superfluous because \makebox...
authorUwe Stöhr <uwestoehr@web.de>
Sun, 23 May 2010 18:13:23 +0000 (18:13 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sun, 23 May 2010 18:13:23 +0000 (18:13 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34472 a592a061-630c-0410-9148-cb99ea01b6c8

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: