]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/forms_gettext.C
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / frontends / xforms / forms_gettext.C
index bb4ee1523ac4234d41aef1c097bb8ef4eb0f39d0..1f8f5d1466bf10ca8e72f29902452b2187f62edf 100644 (file)
@@ -5,21 +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>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
 #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, '|');
 }
 
 
@@ -27,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