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>
This commit is contained in:
Julien Nabet 2023-05-16 18:40:51 +02:00
parent 04ae198019
commit 074c62b4e4

View file

@ -69,29 +69,6 @@ public class _XAccessibleExtendedComponent extends MultiMethodTest {
tRes.tested("getFont()", true);
}
/**
* 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.