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
This commit is contained in:
Uwe Stöhr 2010-05-23 18:13:23 +00:00
parent 643803d0e2
commit 0176f8e04c

View 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: