From b10d44cf52c7fccd12d1a3e1f3eca2ea7a514ac4 Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Wed, 10 Jun 2009 18:44:53 +0000 Subject: [PATCH] Fixed XSSFWorkbook#setRepeatingRowsAndColumns to tolerate sheet names with quotes, see bugzilla #47294 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@783445 13f79535-47bb-0310-9956-ffa450edef68 --- src/documentation/content/xdocs/status.xml | 1 + .../org/apache/poi/xssf/usermodel/XSSFWorkbook.java | 6 ++++-- .../org/apache/poi/xssf/usermodel/TestXSSFName.java | 8 ++++---- .../org/apache/poi/ss/usermodel/BaseTestWorkbook.java | 10 ++++++++++ 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index 5438a69704..cdc47602eb 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -35,6 +35,7 @@ + 47294 - Fixed XSSFWorkbook#setRepeatingRowsAndColumns to tolerate sheet names with quotes 47309 - Fixed logic in HSSFCell.getCellComment to handle sheets with more than 65536 comments 46776 - Added clone() method to MulBlankRecord to fix crash in Sheet.cloneSheet() 47244 - Fixed HSSFSheet to handle missing header / footer records diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java index c288354898..461fe60394 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java @@ -944,7 +944,9 @@ public class XSSFWorkbook extends POIXMLDocument implements Workbook, Iterable