Files
loongoffice/sfx2/source/control
Miklos Vajna 875d99c6e5 sfx2 lok: simplify error handling in InterceptLOKStateChangeEvent()
The whole function is pointless without a viewshell, move the check &
short-circuit to the top of the function, and drop all the duplicate
checks.

Also drop two calls to SfxViewShell::Current(): getting it from the view
frame is better than getting some global state.

Change-Id: I4aa7aeb7c89841bbced760ce2e43d2312bc97f20
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166139
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-04-16 11:25:51 +02:00
..
2024-03-21 21:39:57 +01:00
2024-02-19 09:09:06 +01:00
2024-03-21 21:39:57 +01:00
2023-12-10 17:41:18 +01:00
2024-03-21 21:39:57 +01:00
2023-09-13 13:28:16 +02:00