ASF Bugzilla – Attachment 32310 Details for
Bug 57071
[PATCH] addColumnLabel works only 2 times
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for bug 57071
Fix for bug 57071.diff (text/plain), 1.09 KB, created by
Kamil Linek
on 2014-12-19 20:48:14 UTC
(
hide
)
Description:
Fix for bug 57071
Filename:
MIME Type:
Creator:
Kamil Linek
Created:
2014-12-19 20:48:14 UTC
Size:
1.09 KB
patch
obsolete
>Date: Fri, 19 Dec 2014 21:42:44 +0100 >Subject: [PATCH] Fix for bug 57071 > >--- > src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java >index 278e66e..6ff2e8f 100644 >--- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java >+++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java >@@ -295,8 +295,8 @@ public class XSSFPivotTable extends POIXMLDocumentPart { > addDataColumn(columnIndex, true); > addDataField(function, columnIndex); > >- //Only add colfield if there is already one. >- if (pivotTableDefinition.getDataFields().getCount() > 1) { >+ //colfield should be added for the second one. >+ if (pivotTableDefinition.getDataFields().getCount() == 2) { > CTColFields colFields; > if(pivotTableDefinition.getColFields() != null) { > colFields = pivotTableDefinition.getColFields(); >-- >1.9.4.msysgit.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57071
: 32310 |
32312