common/Session.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit e834526983521fc503fe259533fde8be531f59bd Author: Tor Lillqvist <t...@collabora.com> Date: Mon Jan 15 14:21:49 2018 +0200 Add FIXME diff --git a/common/Session.cpp b/common/Session.cpp index 6070955c..0a9f9c3a 100644 --- a/common/Session.cpp +++ b/common/Session.cpp @@ -86,7 +86,9 @@ void Session::parseDocOptions(const std::vector<std::string>& tokens, int& part, for (size_t i = offset; i < tokens.size(); ++i) { - // FIXME use any kind of startsWith() instead of find(...) == 0 + // FIXME use Util::startsWith() instead of all these find(...) == 0 + // FIXME or use the getToken* functions, isn't this exactly what they are for? + if (tokens[i].find("url=") == 0) { _docURL = tokens[i].substr(strlen("url=")); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits