X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2Fforms_gettext.C;h=1f8f5d1466bf10ca8e72f29902452b2187f62edf;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=bb4ee1523ac4234d41aef1c097bb8ef4eb0f39d0;hpb=08001ad6df7ebfae5e97a7ef906dedf255bf0ee0;p=lyx.git diff --git a/src/frontends/xforms/forms_gettext.C b/src/frontends/xforms/forms_gettext.C index bb4ee1523a..1f8f5d1466 100644 --- a/src/frontends/xforms/forms_gettext.C +++ b/src/frontends/xforms/forms_gettext.C @@ -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 -#ifdef __GNUG__ -#pragma implementation -#endif - #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, '|'); } @@ -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