tdf#150278: avoid gen/gtk3 difference in m_xPropBox->GetCurPage()
commita8ae24a8bd7bfffa75af9d0dc50765d51df9c720
authorJustin Luth <jluth@mail.com>
Mon, 8 Aug 2022 18:43:10 +0000 (8 14:43 -0400)
committerCaolán McNamara <caolanm@redhat.com>
Tue, 9 Aug 2022 09:38:00 +0000 (9 11:38 +0200)
tree0a8f41a495c415e97b7e9eb8272e76a47762a4d8
parent071a36e042c76286fedb38f479dac79f29b661f9
tdf#150278: avoid gen/gtk3 difference in m_xPropBox->GetCurPage()

When switching between tabs, at this call SAL_USE_VCLPLUGIN=gen
was returning the switched-to-tab id, while gtk3 was still
returning the leaving-tab's id.

So just ignore all that an use the OnActivatePage value.

Change-Id: I166626eac033af65e95f8a280076a6bcc070bee3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138003
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
extensions/source/propctrlr/browserview.cxx
extensions/source/propctrlr/browserview.hxx
extensions/source/propctrlr/propertyeditor.cxx
extensions/source/propctrlr/propertyeditor.hxx