From 407c09336caec0386a79852d80cb90c4f455d7c3 Mon Sep 17 00:00:00 2001 From: zheng Date: Mon, 2 Jul 2018 21:23:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B4=A8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../drillmap/designer/other/VanChartCatalogHyperLinkPane.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/designer-chart/src/com/fr/van/chart/drillmap/designer/other/VanChartCatalogHyperLinkPane.java b/designer-chart/src/com/fr/van/chart/drillmap/designer/other/VanChartCatalogHyperLinkPane.java index b93118409b..84bd44667c 100644 --- a/designer-chart/src/com/fr/van/chart/drillmap/designer/other/VanChartCatalogHyperLinkPane.java +++ b/designer-chart/src/com/fr/van/chart/drillmap/designer/other/VanChartCatalogHyperLinkPane.java @@ -1,6 +1,7 @@ package com.fr.van.chart.drillmap.designer.other; import com.fr.base.BaseFormula; +import com.fr.base.FormulaBuilder; import com.fr.chart.chartattr.Plot; import com.fr.extended.chart.HyperLinkPara; import com.fr.extended.chart.HyperLinkParaHelper; @@ -17,9 +18,10 @@ import java.util.Map; public class VanChartCatalogHyperLinkPane extends VanChartHyperLinkPane { protected Map getHyperLinkEditorMap() { + FormulaBuilder builder = BaseFormula.createFormulaBuilder(); HashMap map = new HashMap(); for (HyperLinkPara para : HyperLinkParaHelper.DRILL_TOOLS) { - map.put(para.getName(), BaseFormula.createFormulaBuilder().build(para.getFormulaContent())); + map.put(para.getName(), builder.build(para.getFormulaContent())); } return map; }