[Libreoffice-commits] online.git: common/Session.cpp
Tor Lillqvist
tml at collabora.com
Mon Jan 15 12:23:50 UTC 2018
common/Session.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit e834526983521fc503fe259533fde8be531f59bd
Author: Tor Lillqvist <tml at 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="));
More information about the Libreoffice-commits
mailing list