]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormCharacter.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormCharacter.C
index 5669cab9a8da84d7fad81ffd89de6f3e42b5a1a8..b3fa460fece1e0f518b8c8548d69fe0909fff456 100644 (file)
 #include "lyx_forms.h"
 #include "combox.h"
 
-using namespace lyx::support;
-
 using std::vector;
+using std::string;
+
+namespace lyx {
 
+using support::getStringFromVector;
+
+namespace frontend {
 
-using namespace frnt;
 
 typedef FormController<ControlCharacter, FormView<FD_character> > base_class;
 
@@ -169,7 +172,7 @@ ButtonPolicy::SMInput FormCharacter::input(FL_OBJECT *, long)
                activate = ButtonPolicy::SMI_VALID;
 
        pos = fl_get_choice(dialog_->choice_bar);
-       if (bar_[pos - 1] != frnt::IGNORE)
+       if (bar_[pos - 1] != IGNORE)
                activate = ButtonPolicy::SMI_VALID;
 
        pos = fl_get_choice(dialog_->choice_color);
@@ -182,3 +185,6 @@ ButtonPolicy::SMInput FormCharacter::input(FL_OBJECT *, long)
 
        return activate;
 }
+
+} // namespace frontend
+} // namespace lyx