diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2020-01-02 21:11:54 +0000 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2020-01-06 13:52:29 +0100 |
commit | 9cef0f385df831c6958bed475ff7ab4919fcb49a (patch) | |
tree | e8315933cc2e3435b4c8707efe862fac5633b798 /wsd/ClientSession.hpp | |
parent | 0f8402bd5a3c2e9e4f52c4d15842a1b175e8eee3 (diff) |
watermarking: create SessionMap template to canonicalize views.
Use a fully reliable uniqueness check, rather than a hash, and get
simpler ids as a bonus. Fetch view data from the session itself
rather than passing it in too.
Change-Id: Ibcd625156b5a98eb280e35d6537b5c8c026d0197
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86150
Reviewed-by: Mert Tümer <mert.tumer@collabora.com>
Tested-by: Mert Tümer <mert.tumer@collabora.com>
Diffstat (limited to 'wsd/ClientSession.hpp')
-rw-r--r-- | wsd/ClientSession.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wsd/ClientSession.hpp b/wsd/ClientSession.hpp index 770371df0..8ee184687 100644 --- a/wsd/ClientSession.hpp +++ b/wsd/ClientSession.hpp @@ -261,7 +261,7 @@ private: /// Client is using a text document? bool _isTextDocument; - /// Rotating clipboard remote access identifiers - protected by SessionMapMutex + /// Rotating clipboard remote access identifiers - protected by GlobalSessionMapMutex std::string _clipboardKeys[2]; /// TileID's of the sent tiles. Push by sending and pop by tileprocessed message from the client. |