using std::ostream;
using std::endl;
+using std::auto_ptr;
// Some information about Minipages in LaTeX:
{}
-InsetBase * InsetMinipage::clone() const
+auto_ptr<InsetBase> InsetMinipage::clone() const
{
- return new InsetMinipage(*this);
+ return auto_ptr<InsetBase>(new InsetMinipage(*this));
}
}
-bool InsetMinipage::insetAllowed(Inset::Code code) const
+bool InsetMinipage::insetAllowed(InsetOld::Code code) const
{
- if (code == Inset::FLOAT_CODE || code == Inset::MARGIN_CODE)
+ if (code == InsetOld::FLOAT_CODE || code == InsetOld::MARGIN_CODE)
return false;
return InsetCollapsable::insetAllowed(code);
{}
-string const InsetMinipageMailer::inset2string() const
+string const InsetMinipageMailer::inset2string(Buffer const &) const
{
return params2string(inset_.params());
}