#include "InsetMarginal.h"
+#include "Buffer.h"
#include "gettext.h"
#include "Paragraph.h"
#include "OutputParams.h"
}
-auto_ptr<InsetBase> InsetMarginal::doClone() const
+auto_ptr<Inset> InsetMarginal::doClone() const
{
- return auto_ptr<InsetBase>(new InsetMarginal(*this));
+ return auto_ptr<Inset>(new InsetMarginal(*this));
}
int InsetMarginal::plaintext(Buffer const & buf, odocstream & os,
OutputParams const & runparams) const
{
- os << '[' << _("margin") << ":\n";
+ os << '[' << buf.B_("margin") << ":\n";
InsetText::plaintext(buf, os, runparams);
os << "\n]";