using std::ostream;
-InsetUrl::InsetUrl(InsetCommandParams const & p, bool)
+InsetUrl::InsetUrl(InsetCommandParams const & p)
: InsetCommand(p)
{}
+// InsetUrl::InsetUrl(InsetCommandParams const & p, bool)
+// : InsetCommand(p, false)
+// {}
+
+
InsetUrl::~InsetUrl()
{
InsetCommandMailer("url", *this).hideDialog();
int InsetUrl::latex(Buffer const *, ostream & os,
- LatexRunParams const & runparams,
- bool /*free_spc*/) const
+ LatexRunParams const & runparams) const
{
if (!getOptions().empty())
os << getOptions() + ' ';
- if (runparams.fragile)
+ if (runparams.moving_arg)
os << "\\protect";
os << "\\url{" << getContents() << '}';
return 0;