svtools/source/control/accessibleruler.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit e86291cc922fc467dd9ee74ea7afdb3e51f016a8
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Jul 18 09:05:53 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Jul 18 15:49:34 2022 +0200

    cid#1507356 Logically dead code
    
    Change-Id: I40af398107362615b2500dfa5262a63551489269
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137164
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/svtools/source/control/accessibleruler.cxx 
b/svtools/source/control/accessibleruler.cxx
index 4fec393c0012..2ad8d14a4213 100644
--- a/svtools/source/control/accessibleruler.cxx
+++ b/svtools/source/control/accessibleruler.cxx
@@ -212,12 +212,6 @@ sal_Int64 SAL_CALL 
SvtRulerAccessible::getAccessibleStateSet()
             nStateSet |= AccessibleStateType::HORIZONTAL;
         else
             nStateSet |= AccessibleStateType::VERTICAL;
-
-        if(nStateSet & AccessibleStateType::FOCUSABLE)
-        {
-            nStateSet &= ~AccessibleStateType::FOCUSABLE;
-        }
-
     }
 
     return nStateSet;

Reply via email to