summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorBalazs Varga <balazs.varga.extern@allotropia.de>2024-12-03 10:39:36 +0100
committerGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-12-03 12:22:11 +0100
commit1699d29fca758944a5e477b05e61b5f42cc8907c (patch)
tree8e1b24af9d1fc9e5e313f0eca6ae5a42e9bb0b66 /sw
parent02b2dce99c50d2f48de454a5aba1defc7f67ac78 (diff)
tdf#164137 - Fix Accessibility sidebar gives no warnings
We need to check rather the update button is visible instead of the expanders. Regression from commit: 13ac356a32f279a3fd542d62c12e58abe3d3ad30 (tdf#164048 sw a11y: improve error/warning levels with...) Change-Id: I63fb5906ad2f7bb13bc5822c284861a419897c4e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177723 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de> Tested-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx b/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx
index d5f5f264d657..3446176bdbbe 100644
--- a/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx
+++ b/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx
@@ -307,7 +307,7 @@ void A11yCheckIssuesPanel::addEntryForGroup(AccessibilityCheckGroups eGroup,
void A11yCheckIssuesPanel::populateIssues()
{
- if (!mpDoc || !(m_xLevelExpanders[0]->is_visible() || m_xLevelExpanders[1]->is_visible()))
+ if (!mpDoc || mxUpdateBox->is_visible())
return;
SfxViewShell* pViewShell = SfxViewShell::Current();