summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2023-10-26 20:22:17 +0200
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-10-31 15:44:24 +0100
commita269f52d2016ef72f51e8b73574b6cbd0f448e33 (patch)
treef1fdede2fe983dc633d99bfecfe814518f73c09f /desktop/source
parent3be361d00eb1d61543e2c8c6953e63c149fb1eb0 (diff)
lok a11y: calc: make possible to enable accessibility for spreadsheets
Change-Id: I462b2d386b58a895bd4c45d4bd61a049404d3848 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158512 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit e5481fdaf33a3921ef0624e8a62e28e2f68086da) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158691 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index ab4987376f4f..78e8eeaf2180 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -7179,7 +7179,7 @@ static void doc_setAccessibilityState(SAL_UNUSED_PARAMETER LibreOfficeKitDocumen
SolarMutexGuard aGuard;
int nDocType = getDocumentType(pThis);
- if (!(nDocType == LOK_DOCTYPE_TEXT || nDocType == LOK_DOCTYPE_PRESENTATION))
+ if (!(nDocType == LOK_DOCTYPE_TEXT || nDocType == LOK_DOCTYPE_PRESENTATION || nDocType == LOK_DOCTYPE_SPREADSHEET))
return;
SfxLokHelper::setAccessibilityState(nId, nEnabled);