X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2Fforms_gettext.C;h=1f8f5d1466bf10ca8e72f29902452b2187f62edf;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=377eb205547aa1663b6d4c13752859b86777844a;hpb=0be0fcfd5907d448cd51addf83ed7032719a0692;p=lyx.git diff --git a/src/frontends/xforms/forms_gettext.C b/src/frontends/xforms/forms_gettext.C index 377eb20554..1f8f5d1466 100644 --- a/src/frontends/xforms/forms_gettext.C +++ b/src/frontends/xforms/forms_gettext.C @@ -9,16 +9,19 @@ */ #include - #include "forms_gettext.h" + #include "support/lstrings.h" -using namespace lyx::support; +using std::string; + +namespace lyx { +namespace frontend { // Extract shortcut from "|" 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