X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2Fforms_gettext.C;h=1f8f5d1466bf10ca8e72f29902452b2187f62edf;hb=d5443737342903de489d527802cd2cdd38987d74;hp=cfa58ad6cb2827d8d271bd4e0d4bd4d29311e818;hpb=99d1627a471b92f403598d03dfc861ddc3c11be0;p=lyx.git diff --git a/src/frontends/xforms/forms_gettext.C b/src/frontends/xforms/forms_gettext.C index cfa58ad6cb..1f8f5d1466 100644 --- a/src/frontends/xforms/forms_gettext.C +++ b/src/frontends/xforms/forms_gettext.C @@ -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 - #include "forms_gettext.h" + #include "support/lstrings.h" +using std::string; + +namespace lyx { +namespace frontend { + // Extract shortcut from "|" 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