]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/forms_gettext.C
Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now
[lyx.git] / src / frontends / xforms / forms_gettext.C
index 377eb205547aa1663b6d4c13752859b86777844a..1f8f5d1466bf10ca8e72f29902452b2187f62edf 100644 (file)
@@ -9,16 +9,19 @@
  */
 #include <config.h>
 
-
 #include "forms_gettext.h"
+
 #include "support/lstrings.h"
 
-using namespace lyx::support;
+using std::string;
+
+namespace lyx {
+namespace frontend {
 
 // Extract shortcut from "<identifier>|<shortcut>" string
 string const scex(string const & str)
 {
-       return split(str, '|');
+       return support::split(str, '|');
 }
 
 
@@ -26,6 +29,9 @@ string const scex(string const & str)
 string const idex(string const & str)
 {
        string identifier;
-       split(str, identifier, '|');
+       support::split(str, identifier, '|');
        return identifier;
 }
+
+} // namespace frontend
+} // namespace lyx