]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormInclude.C
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / frontends / xforms / FormInclude.C
index c2dbd1fbc8bff689e69f370da3164e3fefaca408..57bbb468e5fab34ad7f0fc43344aae83e535dec6 100644 (file)
 
 #include "lyx_forms.h"
 
-using lyx::support::rtrim;
-
 using std::string;
 
+namespace lyx {
+
+using support::rtrim;
+
+namespace frontend {
 
 typedef FormController<ControlInclude, FormView<FD_include> > base_class;
 
@@ -145,7 +148,7 @@ ButtonPolicy::SMInput FormInclude::input(FL_OBJECT * ob, long)
                string const in_name = getString(dialog_->input_filename);
                fl_freeze_form(form());
                ControlInclude::Type const type = ControlInclude::Type(type_.get());
-               string const out_name = controller().Browse(in_name, type);
+               string const out_name = controller().browse(in_name, type);
                fl_set_input(dialog_->input_filename, out_name.c_str());
                fl_unfreeze_form(form());
 
@@ -183,3 +186,6 @@ ButtonPolicy::SMInput FormInclude::input(FL_OBJECT * ob, long)
 
        return action;
 }
+
+} // namespace frontend
+} // namespace lyx