summaryrefslogtreecommitdiffstats
path: root/wsd/TestStubs.cpp
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2020-07-01 11:34:08 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2020-07-20 15:47:33 +0200
commite9c4c0286af8e139dd2c3d4bddfcf9d3736e6e1e (patch)
treed985f6dd5aa298d129aa18a83ac989b27cc63ecd /wsd/TestStubs.cpp
parentNotebookbar: styling (diff)
downloadonline-e9c4c0286af8e139dd2c3d4bddfcf9d3736e6e1e.tar.gz
online-e9c4c0286af8e139dd2c3d4bddfcf9d3736e6e1e.zip
Handle failed locking as (temporarily) read-only session
E.g., opening a checked-out document in SharePoint Change-Id: Ifd5225d8450d7f2f5ba9661f158551c5c16f9b09 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97596 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'wsd/TestStubs.cpp')
-rw-r--r--wsd/TestStubs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsd/TestStubs.cpp b/wsd/TestStubs.cpp
index ad0859a8ed..1efd3251f4 100644
--- a/wsd/TestStubs.cpp
+++ b/wsd/TestStubs.cpp
@@ -33,7 +33,7 @@ void ClientSession::writeQueuedMessages() {}
void ClientSession::dumpState(std::ostream& /*os*/) {}
-void ClientSession::setReadOnly() {}
+void ClientSession::setReadOnly(bool) {}
bool ClientSession::_handleInput(const char* /*buffer*/, int /*length*/) { return false; }