desktop/source/lib/init.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e5481fdaf33a3921ef0624e8a62e28e2f68086da
Author:     Marco Cecchetti <[email protected]>
AuthorDate: Thu Oct 26 20:22:17 2023 +0200
Commit:     Andras Timar <[email protected]>
CommitDate: Thu Oct 26 22:36:34 2023 +0200

    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 <[email protected]>
    Tested-by: Andras Timar <[email protected]>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 17535c7cb3b2..aff6e4954a45 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -7185,7 +7185,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);

Reply via email to