From e9238fc38ad5b176b623310d8bf202e11ed42583 Mon Sep 17 00:00:00 2001 From: "Destiny.Lin" Date: Mon, 18 Nov 2024 10:34:40 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-140524=20=E3=80=90FVS=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=9B=86=E6=9B=BF=E6=8D=A2=E3=80=91x3.0.0.1=E5=81=9A=E7=9A=84?= =?UTF-8?q?=E7=9C=8B=E6=9D=BF=EF=BC=8C=E5=9B=BE=E8=A1=A8=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=92=8C=E6=A0=87=E9=A2=98=E4=BD=BF=E7=94=A8=E7=9A=84=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E5=92=8C=E6=95=B0=E6=8D=AE=E9=9B=86=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=EF=BC=8C=E9=83=BD=E8=A2=AB=E8=AF=86=E5=88=AB=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SearchChartCollectionFormulaAction.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/designer-realize/src/main/java/com/fr/design/actions/replace/action/content/formula/chart/SearchChartCollectionFormulaAction.java b/designer-realize/src/main/java/com/fr/design/actions/replace/action/content/formula/chart/SearchChartCollectionFormulaAction.java index 69b763248c..8924cae01b 100644 --- a/designer-realize/src/main/java/com/fr/design/actions/replace/action/content/formula/chart/SearchChartCollectionFormulaAction.java +++ b/designer-realize/src/main/java/com/fr/design/actions/replace/action/content/formula/chart/SearchChartCollectionFormulaAction.java @@ -370,14 +370,16 @@ public class SearchChartCollectionFormulaAction { } private void searchChartPatternFormulaFromTitle(List formulaInfos, ITContent chartContent, Chart chart) { - //样式-标题 - ITContent titleContent = ITContent.copy(chartContent); - titleContent.addOtherPos( - chart.getChartName(), - Toolkit.i18nText("Fine-Design_Chart_Pattern") + if (chart != null) { + //样式-标题 + ITContent titleContent = ITContent.copy(chartContent); + titleContent.addOtherPos( + chart.getChartName(), + Toolkit.i18nText("Fine-Design_Chart_Pattern") - ); - dealTitle(formulaInfos, titleContent, chart.getTitle()); + ); + dealTitle(formulaInfos, titleContent, chart.getTitle()); + } } private void dealTitle(List formulaInfos, ITContent chartContent, Title title) {