]> git.lyx.org Git - lyx.git/blobdiff - src/FuncRequest.cpp
GuiToc::initialiseParams(): Fix list type parsing
[lyx.git] / src / FuncRequest.cpp
index af4d97c7d70dd1435fd2333a15f8c19a7b4367ad..d14503fefda271104df391c4bd6d6d627e19bad6 100644 (file)
@@ -70,7 +70,7 @@ mouse_button::state FuncRequest::button() const
 }
 
 
-void split(vector<string> & args, string const & str)
+void splitArg(vector<string> & args, string const & str)
 {
        istringstream is(str);
        while (is) {
@@ -93,7 +93,7 @@ void split(vector<string> & args, string const & str)
 string FuncRequest::getArg(unsigned int i) const
 {
        vector<string> args;
-       split(args, to_utf8(argument_));
+       splitArg(args, to_utf8(argument_));
        return i < args.size() ? args[i] : string();
 }
 
@@ -104,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