X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFuncRequest.cpp;h=d14503fefda271104df391c4bd6d6d627e19bad6;hb=3256dbc78a76f947080dc8e3414abc60e4b5c5af;hp=634111f14795959123559a186c6e5674ef864bf6;hpb=1a77c867a23f6f904f24b4968bdeb41e4244ccec;p=lyx.git diff --git a/src/FuncRequest.cpp b/src/FuncRequest.cpp index 634111f147..d14503fefd 100644 --- a/src/FuncRequest.cpp +++ b/src/FuncRequest.cpp @@ -16,11 +16,7 @@ #include #include -using std::getline; -using std::istringstream; -using std::vector; -using std::string; - +using namespace std; namespace lyx { @@ -74,7 +70,7 @@ mouse_button::state FuncRequest::button() const } -void split(vector & args, string const & str) +void splitArg(vector & args, string const & str) { istringstream is(str); while (is) { @@ -97,7 +93,7 @@ void split(vector & args, string const & str) string FuncRequest::getArg(unsigned int i) const { vector args; - split(args, to_utf8(argument_)); + splitArg(args, to_utf8(argument_)); return i < args.size() ? args[i] : string(); } @@ -108,7 +104,7 @@ bool operator==(FuncRequest const & lhs, FuncRequest const & rhs) } -std::ostream & operator<<(std::ostream & os, FuncRequest const & cmd) +ostream & operator<<(ostream & os, FuncRequest const & cmd) { return os << " action: " << cmd.action