lok: masterpage: don't remove old cache
commit71c88cf9d5f5dffa86e5a111e19468a5a2a2b6c0
authorSzymon Kłos <szymon.klos@collabora.com>
Mon, 14 Nov 2022 10:38:40 +0000 (14 11:38 +0100)
committerSzymon Kłos <szymon.klos@collabora.com>
Sat, 19 Nov 2022 15:31:44 +0000 (19 16:31 +0100)
tree778a41ad06d915c7a5d321d1ae64e4f6d0bce562
parentec6502a1f61fcbd4bf05b62f172650fe442c3a1d
lok: masterpage: don't remove old cache

In multi user view when switching between MasterPage and Page
mode it was failing to find cache because it was removed by other
views. We need that to allow invalidation after master page changed
something.

Change-Id: I070345b0fe6942965aece5bf729ceb37b7d99397
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142697
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ash@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142965
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx