diff options
author | Tor Lillqvist <tml@collabora.com> | 2020-04-20 17:01:00 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2020-04-21 12:15:07 +0200 |
commit | 1525f774d9317e0f40d254b1f2af98344ba79daa (patch) | |
tree | 27daf1ba18472768e937e55d530c89af17669cac /test/WhiteBoxTests.cpp | |
parent | fca73e16b92e7b2932c6ae98566f548e52165f48 (diff) |
tdf#128502: Get rid of the static file-level variable 'document' in Kit.cpp
It is not a problem in the multi-process web-based Online, where the
variable exists separately in each KIT process (which handles exactly
one document). But in a mobile app, when we want to be able to handle
multiple document in the single process, we can't have such variables.
Change-Id: I1d3da48316eb3a8c72ff4957cc3fcba8f6870f16
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92582
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'test/WhiteBoxTests.cpp')
-rw-r--r-- | test/WhiteBoxTests.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/WhiteBoxTests.cpp b/test/WhiteBoxTests.cpp index 12112d120..66f3e895f 100644 --- a/test/WhiteBoxTests.cpp +++ b/test/WhiteBoxTests.cpp @@ -561,6 +561,10 @@ public: { return true; } + + void alertAllUsers(const std::string& /*cmd*/, const std::string& /*kind*/) override + { + } }; void WhiteBoxTests::testEmptyCellCursor() |