office-gobmx/sw/source/uibase
Darshan-upadhyay1110 65606ffdb9 Refactor focus handling in LevelHdl and SwTokenWindow
- Added a new `LevelHdlImpl` method with a `bool bGrabFocus` argument.
- Refactored `LevelHdl` to call `LevelHdlImpl` with `true`.
- Adjusted `SwTokenWindow::SetActiveControl` and `SwTokenWindow::SetForm` to skip `GrabFocus` when the argument is `false`.
- Ensured focus behavior remains unchanged except for the initial "ActivatePage".

Change-Id: If2f43e43f94c3762acd93974550ff0d2d66c6c21
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174423
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
(cherry picked from commit dbb054045fae8605794c17aae052a9d588fe33fc)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175996
Tested-by: Jenkins
2024-11-08 16:42:36 +01:00
..
app no need to take a copy of the getProcessComponentContext return value 2024-11-08 15:23:52 +01:00
chrdlg
config no need to take a copy of the getProcessComponentContext return value 2024-11-08 15:23:52 +01:00
dbui no need to take a copy of the getProcessComponentContext return value 2024-11-08 15:23:52 +01:00
dialog
dochdl loplugin:passstuffbyref in sw 2024-11-07 15:15:01 +01:00
docvw sw lok: async readonly dialog when pressing delete key on protected content 2024-11-06 12:32:48 +01:00
envelp
fldui no need to take a copy of the getProcessComponentContext return value 2024-11-08 15:23:52 +01:00
frmdlg
globdoc
inc Refactor focus handling in LevelHdl and SwTokenWindow 2024-11-08 16:42:36 +01:00
index
lingu
misc no need to take a copy of the getProcessComponentContext return value 2024-11-08 15:23:52 +01:00
ribbar
shells no need to take a copy of the getProcessComponentContext return value 2024-11-08 15:23:52 +01:00
sidebar loplugin:passstuffbyref in sw 2024-11-07 15:15:01 +01:00
table
uitest
uiview no need to take a copy of the getProcessComponentContext return value 2024-11-08 15:23:52 +01:00
uno no need to take a copy of the getProcessComponentContext return value 2024-11-08 15:23:52 +01:00
utlui
web
wrtsh