This ScriptEntry ctor is always called with empty languagedepprops
Change-Id: Ia8ddfecf2f809e9f0132ba59812446973532476c
This commit is contained in:
@@ -47,7 +47,6 @@ import com.sun.star.uno.XComponentContext;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
|
||||
import javax.swing.JOptionPane;
|
||||
|
||||
@@ -207,8 +206,7 @@ public class ParcelBrowseNode extends PropertySet implements
|
||||
|
||||
String language = container.getLanguage();
|
||||
|
||||
ScriptEntry entry = new ScriptEntry(language, languageName,
|
||||
new HashMap<String, String>());
|
||||
ScriptEntry entry = new ScriptEntry(language, languageName);
|
||||
|
||||
Parcel parcel = (Parcel)container.getByName(getName());
|
||||
ScriptMetaData data = new ScriptMetaData(parcel, entry, source);
|
||||
|
@@ -48,8 +48,6 @@ import com.sun.star.uno.Type;
|
||||
import com.sun.star.uno.UnoRuntime;
|
||||
import com.sun.star.uno.XComponentContext;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
public class ScriptBrowseNode extends PropertySet implements
|
||||
XBrowseNode, XInvocation {
|
||||
|
||||
@@ -247,8 +245,7 @@ public class ScriptBrowseNode extends PropertySet implements
|
||||
|
||||
String language = provider.getName();
|
||||
|
||||
ScriptEntry entry = new ScriptEntry(language, languageName,
|
||||
new HashMap<String, String>());
|
||||
ScriptEntry entry = new ScriptEntry(language, languageName);
|
||||
|
||||
ScriptMetaData data =
|
||||
new ScriptMetaData(parent, entry, oldSource);
|
||||
|
@@ -38,9 +38,8 @@ public class ScriptEntry implements Cloneable {
|
||||
this.description = entry.description;
|
||||
}
|
||||
|
||||
public ScriptEntry(String language, String languagename,
|
||||
Map<String, String> languagedepprops) {
|
||||
this(language, languagename, languagedepprops, "");
|
||||
public ScriptEntry(String language, String languagename) {
|
||||
this(language, languagename, new HashMap<String, String>(), "");
|
||||
}
|
||||
|
||||
public ScriptEntry(String language, String languagename,
|
||||
|
Reference in New Issue
Block a user