From a1a888f7f745050eeb1b7d12490ab677cb31e60e Mon Sep 17 00:00:00 2001 From: Josh Micich Date: Wed, 3 Sep 2008 17:03:02 +0000 Subject: [PATCH] Fixed ArrayPtg.toString to not crash when partially initialised git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@691687 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hssf/record/formula/ArrayPtg.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/java/org/apache/poi/hssf/record/formula/ArrayPtg.java b/src/java/org/apache/poi/hssf/record/formula/ArrayPtg.java index f2e836ffcc..9020c16342 100644 --- a/src/java/org/apache/poi/hssf/record/formula/ArrayPtg.java +++ b/src/java/org/apache/poi/hssf/record/formula/ArrayPtg.java @@ -94,10 +94,14 @@ public final class ArrayPtg extends Ptg { buffer.append("columns = ").append(getColumnCount()).append("\n"); buffer.append("rows = ").append(getRowCount()).append("\n"); - for (int x=0;x