]> 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 cfa58ad6cb2827d8d271bd4e0d4bd4d29311e818..1f8f5d1466bf10ca8e72f29902452b2187f62edf 100644 (file)
@@ -5,18 +5,23 @@
  *
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 #include <config.h>
 
-
 #include "forms_gettext.h"
+
 #include "support/lstrings.h"
 
+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, '|');
 }
 
 
@@ -24,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