]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMinipage.C
Tiny clean-ups.
[lyx.git] / src / frontends / xforms / FormMinipage.C
index e531ae29b8eac9082849bbb1dedfaa9f24a2d1ab..48b65c58d1af9394e6ac68e23affbe683ae595cf 100644 (file)
 
 #include <config.h>
 
-#include "xformsBC.h"
-#include "ControlMinipage.h"
 #include "FormMinipage.h"
+#include "ControlMinipage.h"
 #include "forms/form_minipage.h"
+
+#include "xforms_helpers.h"
+#include "xformsBC.h"
+
+#include "controllers/helper_funcs.h"
+
 #include "support/lstrings.h"
 #include "support/tostr.h"
-#include "helper_funcs.h"
-#include "debug.h"
-#include "xforms_helpers.h"
+
 #include "lyx_forms.h"
 
-using namespace lyx::support;
+using lyx::support::getStringFromVector;
+using lyx::support::isStrDbl;
+using lyx::support::subst;
+
+using std::string;
+
 
 typedef FormController<ControlMinipage, FormView<FD_minipage> > base_class;
 
@@ -110,7 +118,7 @@ ButtonPolicy::SMInput FormMinipage::input(FL_OBJECT * ob, long)
                string const input = getString(dialog_->input_width);
                bool const invalid = !isValidLength(input) && !isStrDbl(input);
                if (invalid) {
-                       postWarning(_("Invalid Length!"));
+                       postWarning(_("Invalid length!"));
                        action = ButtonPolicy::SMI_INVALID;
                } else {
                        action = ButtonPolicy::SMI_VALID;