[Libreoffice-commits] core.git: wizards/com

Caolán McNamara caolanm at redhat.com
Sun Jan 1 20:26:32 UTC 2017


 wizards/com/sun/star/wizards/common/Resource.java |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit ae7aaf16abdbba6f84e00ef73862e819b11c82eb
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jan 1 20:24:23 2017 +0000

    StringList isn't required or used by wizards
    
    as shown by
    
    commit a96c308e52983b7bc0275e31e50a9b04e5805852
    Author: Noel Grandin <noel at peralex.com>
    Date:   Wed Dec 17 10:33:26 2014 +0200
    
        java: these fields can be converted to local variables
    
        Change-Id: Ifefb5de196a3e5cbaa8945759da42886c69daacf
    
    Change-Id: I4da6c42e0114a891a6b6af8889c94b4332b0b40b

diff --git a/wizards/com/sun/star/wizards/common/Resource.java b/wizards/com/sun/star/wizards/common/Resource.java
index 1715fb23..7158bad 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");
         }


More information about the Libreoffice-commits mailing list