From ae7aaf16abdbba6f84e00ef73862e819b11c82eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sun, 1 Jan 2017 20:24:23 +0000 Subject: [PATCH] StringList isn't required or used by wizards as shown by commit a96c308e52983b7bc0275e31e50a9b04e5805852 Author: Noel Grandin Date: Wed Dec 17 10:33:26 2014 +0200 java: these fields can be converted to local variables Change-Id: Ifefb5de196a3e5cbaa8945759da42886c69daacf Change-Id: I4da6c42e0114a891a6b6af8889c94b4332b0b40b --- wizards/com/sun/star/wizards/common/Resource.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wizards/com/sun/star/wizards/common/Resource.java b/wizards/com/sun/star/wizards/common/Resource.java index 1715fb238ff8..7158bad13f4b 100644 --- a/wizards/com/sun/star/wizards/common/Resource.java +++ b/wizards/com/sun/star/wizards/common/Resource.java @@ -49,11 +49,6 @@ public class Resource this.xStringIndexAccess = UnoRuntime.queryInterface( XIndexAccess.class, xNameAccess.getByName("String")); - XIndexAccess xStringListIndexAccess = UnoRuntime.queryInterface( - XIndexAccess.class, - xNameAccess.getByName("StringList")); - if(xStringListIndexAccess == null) - throw new Exception("could not initialize xStringListIndexAccess"); if(this.xStringIndexAccess == null) throw new Exception("could not initialize xStringIndexAccess"); }