From 0176f8e04ce6d2fe58a82cb0596f9d3b51c9b265 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sun, 23 May 2010 18:13:23 +0000 Subject: [PATCH] InsetBox.cpp: fix #4776; the additional \makebox is superfluous because \makebox and \framebox are equivalent, except that the latter draws a frame git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34472 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBox.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/insets/InsetBox.cpp b/src/insets/InsetBox.cpp index 2681bcd173..a4a2e606e5 100644 --- a/src/insets/InsetBox.cpp +++ b/src/insets/InsetBox.cpp @@ -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: -- 2.39.5