]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormSendto.C
Tiny clean-ups.
[lyx.git] / src / frontends / xforms / FormSendto.C
index cefad280a755cca9ffa348ffe85abdda50a125f5..589610c8d28bd2fa58aec4bd99980e1800b3ffda 100644 (file)
@@ -5,23 +5,30 @@
  *
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
-
 #include "FormSendto.h"
-#include "forms/form_sendto.h"
 #include "ControlSendto.h"
-#include "xformsBC.h"
+#include "forms/form_sendto.h"
+
 #include "Tooltips.h"
 #include "xforms_helpers.h"
-#include "converter.h"
-#include "gettext.h"
-#include FORMS_H_LOCATION
+#include "xformsBC.h"
+
+#include "format.h"
+
+#include "support/lstrings.h"
+
+#include "lyx_forms.h"
+
+using lyx::support::trim;
 
 using std::vector;
+using std::string;
+
 
 typedef FormCB<ControlSendto, FormDB<FD_sendto> > base_class;
 
@@ -38,9 +45,9 @@ void FormSendto::build()
        setPrehandler(dialog_->input_command);
 
        // Manage the ok, apply, restore and cancel/close buttons
-       bc().setOK(dialog_->button_ok);
-       bc().setApply(dialog_->button_apply);
-       bc().setCancel(dialog_->button_close);
+       bcview().setOK(dialog_->button_ok);
+       bcview().setApply(dialog_->button_apply);
+       bcview().setCancel(dialog_->button_close);
 
        // Set up the tooltip mechanism
        string str = _("Export the buffer to this format before running the command below on it.");