reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormattedTextLayoutController.java | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit b57d1cce3ecdfb77706cbf0643c88f66de047dbc Author: Lionel Elie Mamane <lio...@mamane.lu> Date: Tue Oct 8 16:37:32 2013 +0200 fdo#62994 reportbuilder survive empty formula Change-Id: I1da053871d107730ad9a135deb48313d8a877d89 Reviewed-on: https://gerrit.libreoffice.org/6166 Reviewed-by: Michael Stahl <mst...@redhat.com> Tested-by: Michael Stahl <mst...@redhat.com> (cherry picked from commit ff8112e22eeb00dd0ed3b2232704d96e92333d76) Reviewed-on: https://gerrit.libreoffice.org/6169 Reviewed-by: Lionel Elie Mamane <lio...@mamane.lu> Tested-by: Lionel Elie Mamane <lio...@mamane.lu> Reviewed-by: David Ostrovsky <david.ostrov...@gmx.de> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormattedTextLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormattedTextLayoutController.java index dcc153c..cd09775 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormattedTextLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormattedTextLayoutController.java @@ -84,6 +84,8 @@ public class FormattedTextLayoutController { final FormattedTextElement element = (FormattedTextElement) getNode(); final FormulaExpression formulaExpression = element.getValueExpression(); + if (formulaExpression.getFormulaExpression() == null) + return false; final Formula formula = formulaExpression.getCompiledFormula(); final LValue lValue = formula.getRootReference(); return FormatValueUtility.isReferenceChanged(this, lValue);
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits