X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetBox.cpp;h=b81ac332f25bba197ca0805123bd3558ca353752;hb=75999ba650ec5cb40ae31aae4ea1eb817929d09b;hp=44638964f8c276fb264afd50d1bee7198f7be618;hpb=a694476ac68fd56c23eace194e9e6ac5b2a5cac5;p=lyx.git diff --git a/src/insets/InsetBox.cpp b/src/insets/InsetBox.cpp index 44638964f8..b81ac332f2 100644 --- a/src/insets/InsetBox.cpp +++ b/src/insets/InsetBox.cpp @@ -93,23 +93,12 @@ InsetBox::InsetBox(Buffer const & buffer, string const & label) } -InsetBox::InsetBox(InsetBox const & in) - : InsetCollapsable(in), params_(in.params_) -{} - - InsetBox::~InsetBox() { InsetBoxMailer(*this).hideDialog(); } -Inset * InsetBox::clone() const -{ - return new InsetBox(*this); -} - - docstring InsetBox::editMessage() const { return _("Opened Box Inset"); @@ -119,7 +108,7 @@ docstring InsetBox::editMessage() const docstring InsetBox::name() const { // FIXME: UNICODE - string name = string("Box"); + string name = "Box"; if (boxtranslator().find(params_.type) == Shaded) name += string(":Shaded"); return from_ascii(name); @@ -162,7 +151,7 @@ void InsetBox::setButtonLabel() bool InsetBox::hasFixedWidth() const { - return params_.inner_box || params_.special != "width"; + return params_.inner_box || params_.special != "width"; }