[Libreoffice-commits] online.git: wsd/DocumentBroker.cpp
Michael Meeks
michael.meeks at collabora.com
Fri Mar 10 23:53:06 UTC 2017
wsd/DocumentBroker.cpp | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 93d46fc469c5356e4bc1651c87072fe413c6e98a
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Fri Mar 10 23:52:28 2017 +0000
Don't treat a session as non-editable when it is not (yet) loaded.
diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index 2f53f7b..6ddb463 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -1129,7 +1129,6 @@ void DocumentBroker::destroyIfLastEditor(const std::string& id)
for (const auto& it : _sessions)
{
if (it.second->getId() != id &&
- it.second->isLoaded() &&
!it.second->isReadOnly())
{
// Found another editable.
More information about the Libreoffice-commits
mailing list