X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormInclude.C;h=57bbb468e5fab34ad7f0fc43344aae83e535dec6;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=978e0b9626756d437d4a6720b057019bc53ade78;hpb=c319aee7c2932efeb49676c62cc5262031ece9eb;p=lyx.git diff --git a/src/frontends/xforms/FormInclude.C b/src/frontends/xforms/FormInclude.C index 978e0b9626..57bbb468e5 100644 --- a/src/frontends/xforms/FormInclude.C +++ b/src/frontends/xforms/FormInclude.C @@ -24,8 +24,13 @@ #include "lyx_forms.h" -using lyx::support::rtrim; +using std::string; +namespace lyx { + +using support::rtrim; + +namespace frontend { typedef FormController > base_class; @@ -143,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()); @@ -181,3 +186,6 @@ ButtonPolicy::SMInput FormInclude::input(FL_OBJECT * ob, long) return action; } + +} // namespace frontend +} // namespace lyx