Files
odfstudio/vcl/source
Michael Weghorn 2971580f1f vcl: Drop always true Dialog::m_bLOKTunneling
The member was introduced and set to false for the
jsdialog case in

    commit 02e7718d25
    Date:   Wed Nov 18 12:00:03 2020 +0100

        jsdialog: turn off tunneling for JSON dialogs

. However, jsdialog support was dropped in

    commit 8a91868e21
    Date:   Tue Jun 2 14:53:19 2026 +0200

        drop JSDialog machinery

, so the member is now always true.
Drop it and simplify code accordingly.

(Assume that checks like

    if (!mpDialogImpl || !mpDialogImpl->m_bLOKTunneling)

where only first checking the non-nullness of Dialog::mpDialogImpl
to not dereference it when checking `mpDialogImpl->m_bLOKTunneling`
and the `!mpDialogImpl` check doesn't need to be kept by itself where
that member it isn't dereferenced directly anymore.)

The Dialog::PixelInvalidate override can now be dropped
altogether as it would only call the base class
implementation.

Change-Id: I6127948af50e55593ce1cc5a06eec178a3248aef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207028
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-06-22 09:19:44 +02:00
..
2026-06-16 20:34:53 +02:00
2026-05-22 09:32:38 +02:00
2026-06-15 22:36:30 +02:00