summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-20 15:56:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-20 22:10:41 +0200
commit8f966c402779c4b1578115448b7972ba48e4f294 (patch)
tree724454520da7054d49d4b164b94b8840ec777c6b /qadevOOo
parente114afa40289f16c14b9591ed97539b7ab673dc6 (diff)
cid#1448400 UC: Useless code
Change-Id: Iad2ec725a8dbc37aeceac3af8611853c910e7d79 Reviewed-on: https://gerrit.libreoffice.org/76023 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java21
1 files changed, 1 insertions, 20 deletions
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java
index 921a45e1a606..e80d6bc8a0ba 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java
@@ -151,32 +151,13 @@ public class AccessibleBrowseBoxTableCell extends TestCase {
the_frame2.setName("DatasourceBrowser");
- XInterface oObj = null;
-
- UnoRuntime.queryInterface(
- XInitialization.class, the_frame2.getController());
-
- Object[] params = new Object[3];
- PropertyValue param1 = new PropertyValue();
- param1.Name = "DataSourceName";
- param1.Value = "Bibliography";
- params[0] = param1;
- PropertyValue param2 = new PropertyValue();
- param2.Name = "CommandType";
- param2.Value = Integer.valueOf(com.sun.star.sdb.CommandType.TABLE);
- params[1] = param2;
- PropertyValue param3 = new PropertyValue();
- param3.Name = "Command";
- param3.Value = "biblio";
- params[2] = param3;
-
util.utils.waitForEventIdle(tParam.getMSF());
XWindow xWindow = secondController.getFrame().getContainerWindow();
XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow);
- oObj = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.TABLE_CELL);
+ XInterface oObj = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.TABLE_CELL);
log.println("ImplementationName: "+util.utils.getImplName(oObj));