X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormSendto.C;h=7fd0484ca845ffacb612cd4c346fe74fd73517ea;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=589610c8d28bd2fa58aec4bd99980e1800b3ffda;hpb=44cd0fc9a1687cc63911c7f98d978594458e7813;p=lyx.git diff --git a/src/frontends/xforms/FormSendto.C b/src/frontends/xforms/FormSendto.C index 589610c8d2..7fd0484ca8 100644 --- a/src/frontends/xforms/FormSendto.C +++ b/src/frontends/xforms/FormSendto.C @@ -24,16 +24,19 @@ #include "lyx_forms.h" -using lyx::support::trim; - using std::vector; using std::string; +namespace lyx { + +using support::trim; -typedef FormCB > base_class; +namespace frontend { -FormSendto::FormSendto() - : base_class(_("Send document to command")) +typedef FormController > base_class; + +FormSendto::FormSendto(Dialog & parent) + : base_class(parent, _("Send document to command")) {} @@ -118,3 +121,6 @@ void FormSendto::apply() controller().setFormat(all_formats_[line-1]); controller().setCommand(cmd); } + +} // namespace frontend +} // namespace lyx