diff --git a/trunk/src/com/jpexs/decompiler/flash/action/swf4/ActionGetVariable.java b/trunk/src/com/jpexs/decompiler/flash/action/swf4/ActionGetVariable.java index bbdda8fa1..477452553 100644 --- a/trunk/src/com/jpexs/decompiler/flash/action/swf4/ActionGetVariable.java +++ b/trunk/src/com/jpexs/decompiler/flash/action/swf4/ActionGetVariable.java @@ -17,6 +17,7 @@ package com.jpexs.decompiler.flash.action.swf4; import com.jpexs.decompiler.flash.action.Action; +import com.jpexs.decompiler.flash.action.treemodel.ConstantPool; import com.jpexs.decompiler.flash.action.treemodel.GetVariableTreeItem; import com.jpexs.decompiler.flash.graph.GraphTargetItem; import com.jpexs.decompiler.flash.helpers.Highlighting; @@ -38,7 +39,7 @@ public class ActionGetVariable extends Action { @Override public void translate(Stack stack, List output, java.util.HashMap regNames, HashMap variables, HashMap functions) { GraphTargetItem name = stack.pop(); - GraphTargetItem computedVal = variables.get(Highlighting.stripHilights(name.toStringNoQuotes(null))); + GraphTargetItem computedVal = variables.get(Highlighting.stripHilights(name.toStringNoQuotes((ConstantPool)null))); GetVariableTreeItem gvt = new GetVariableTreeItem(this, name); gvt.setComputedValue(computedVal); stack.push(gvt); diff --git a/trunk/src/com/jpexs/decompiler/flash/action/swf4/ActionSetVariable.java b/trunk/src/com/jpexs/decompiler/flash/action/swf4/ActionSetVariable.java index 85c85bb11..09ef4b7b5 100644 --- a/trunk/src/com/jpexs/decompiler/flash/action/swf4/ActionSetVariable.java +++ b/trunk/src/com/jpexs/decompiler/flash/action/swf4/ActionSetVariable.java @@ -17,6 +17,7 @@ package com.jpexs.decompiler.flash.action.swf4; import com.jpexs.decompiler.flash.action.Action; +import com.jpexs.decompiler.flash.action.treemodel.ConstantPool; import com.jpexs.decompiler.flash.action.treemodel.SetVariableTreeItem; import com.jpexs.decompiler.flash.graph.GraphTargetItem; import com.jpexs.decompiler.flash.helpers.Highlighting; @@ -40,7 +41,7 @@ public class ActionSetVariable extends Action { GraphTargetItem value = stack.pop(); GraphTargetItem name = stack.pop(); SetVariableTreeItem svt = new SetVariableTreeItem(this, name, value); - variables.put(Highlighting.stripHilights(name.toStringNoQuotes(null)), value); + variables.put(Highlighting.stripHilights(name.toStringNoQuotes((ConstantPool)null)), value); output.add(svt); } } diff --git a/trunk/src/com/jpexs/decompiler/flash/action/swf5/ActionCallFunction.java b/trunk/src/com/jpexs/decompiler/flash/action/swf5/ActionCallFunction.java index 4115833e6..6a9856eec 100644 --- a/trunk/src/com/jpexs/decompiler/flash/action/swf5/ActionCallFunction.java +++ b/trunk/src/com/jpexs/decompiler/flash/action/swf5/ActionCallFunction.java @@ -18,6 +18,7 @@ package com.jpexs.decompiler.flash.action.swf5; import com.jpexs.decompiler.flash.action.Action; import com.jpexs.decompiler.flash.action.treemodel.CallFunctionTreeItem; +import com.jpexs.decompiler.flash.action.treemodel.ConstantPool; import com.jpexs.decompiler.flash.graph.GraphTargetItem; import com.jpexs.decompiler.flash.helpers.Highlighting; import java.util.ArrayList; @@ -45,7 +46,7 @@ public class ActionCallFunction extends Action { args.add(stack.pop()); } CallFunctionTreeItem cft = new CallFunctionTreeItem(this, functionName, args); - cft.calculatedFunction = functions.get(Highlighting.stripHilights(functionName.toStringNoQuotes(null))); + cft.calculatedFunction = functions.get(Highlighting.stripHilights(functionName.toStringNoQuotes((ConstantPool)null))); stack.push(cft); } } diff --git a/trunk/src/com/jpexs/decompiler/flash/action/swf5/ActionDefineLocal.java b/trunk/src/com/jpexs/decompiler/flash/action/swf5/ActionDefineLocal.java index 8bb690a22..c233ded33 100644 --- a/trunk/src/com/jpexs/decompiler/flash/action/swf5/ActionDefineLocal.java +++ b/trunk/src/com/jpexs/decompiler/flash/action/swf5/ActionDefineLocal.java @@ -17,6 +17,7 @@ package com.jpexs.decompiler.flash.action.swf5; import com.jpexs.decompiler.flash.action.Action; +import com.jpexs.decompiler.flash.action.treemodel.ConstantPool; import com.jpexs.decompiler.flash.action.treemodel.DefineLocalTreeItem; import com.jpexs.decompiler.flash.graph.GraphTargetItem; import com.jpexs.decompiler.flash.helpers.Highlighting; @@ -39,7 +40,7 @@ public class ActionDefineLocal extends Action { public void translate(Stack stack, List output, java.util.HashMap regNames, HashMap variables, HashMap functions) { GraphTargetItem value = stack.pop(); GraphTargetItem name = stack.pop(); - variables.put(Highlighting.stripHilights(name.toStringNoQuotes(null)), value); + variables.put(Highlighting.stripHilights(name.toStringNoQuotes((ConstantPool)null)), value); output.add(new DefineLocalTreeItem(this, name, value)); } }