diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2023-05-16 18:40:51 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2023-05-16 23:11:26 +0200 |
commit | 074c62b4e47c1e595f08d90e3811a8baab102dd5 (patch) | |
tree | 239ae9cf179fbfae8bc6e8722a45360acefe3cfe | |
parent | 04ae198019cf2c6593023f9ef630e4e99f65defe (diff) |
Remove remnant commented code concerning recently dropped "XAccessibleStateSet"
Change-Id: Ib11e37dbc6bf9bfc7ba8cdf3b5cb28d5a11f31a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151847
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | qadevOOo/tests/java/ifc/accessibility/_XAccessibleExtendedComponent.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleExtendedComponent.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleExtendedComponent.java index dc6355e76554..2156c09a00dc 100644 --- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleExtendedComponent.java +++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleExtendedComponent.java @@ -70,29 +70,6 @@ public class _XAccessibleExtendedComponent extends MultiMethodTest { } /** - * Calls the method and compares returned value with value that was - * returned by the method - * <code>XAccessibleStateSet & AccessibleStateType.ENABLED</code>. - * Has OK status if returned values are equal. - * deprecated from version srx644g 29.10.02 on - * - public void _isEnabled() { - boolean isEnabled = oObj.isEnabled(); - log.println("isEnabled(): " + isEnabled); - - boolean res = true; - - XAccessibleStateSet accStateSet = (XAccessibleStateSet) - UnoRuntime.queryInterface(XAccessibleStateSet.class, oObj); - - if (accStateSet != null) { - res = ((accStateSet & AccessibleStateType.ENABLED) != 0) == isEnabled; - } - - tRes.tested("isEnabled()", res); - } - - /** * Calls the method and checks returned value. * Has OK status if returned value isn't null. */ |