tdf#165586 sw: fix accessibility sidebar with gtk3

No issues are shown.

(regression from commit fe8ef5ec07)

Change-Id: Ic9d6a9f64613f2f5d50a8acdb4b460f3567380b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182542
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
This commit is contained in:
Michael Stahl
2025-03-05 17:48:51 +01:00
parent 62f605e2a7
commit e5dbde2aab
2 changed files with 2 additions and 0 deletions
@@ -99,6 +99,7 @@ IMPL_LINK_NOARG(AccessibilityCheckEntry, FixButtonClicked, weld::Button&, void)
AccessibilityCheckLevel::AccessibilityCheckLevel(weld::Box* pParent)
: m_xBuilder(Application::CreateBuilder(pParent, u"svx/ui/accessibilitychecklevel.ui"_ustr))
, m_xContainer(m_xBuilder->weld_box(u"accessibilityCheckLevelBox"_ustr))
{
m_xExpanders[0] = m_xBuilder->weld_expander(u"expand_document"_ustr);
m_xExpanders[1] = m_xBuilder->weld_expander(u"expand_styles"_ustr);
@@ -63,6 +63,7 @@ class AccessibilityCheckLevel
{
private:
std::unique_ptr<weld::Builder> m_xBuilder;
std::unique_ptr<weld::Box> m_xContainer; ///< this is required for gtk3 even if unused
std::array<std::vector<std::unique_ptr<AccessibilityCheckEntry>>, 11> m_aEntries;
std::array<std::unique_ptr<weld::Expander>, 11> m_xExpanders;
std::array<std::unique_ptr<weld::Box>, 11> m_xBoxes;