summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-07-18 09:05:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-07-18 15:49:34 +0200
commite86291cc922fc467dd9ee74ea7afdb3e51f016a8 (patch)
tree49c75914cae67ea074bb2f113da73402f76b78ba /svtools/source
parent50a52eda9b22ea6659c93b2619700f483b06f09c (diff)
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 <caolanm@redhat.com>
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/control/accessibleruler.cxx6
1 files changed, 0 insertions, 6 deletions
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;