ASF Bugzilla – Attachment 24191 Details for
Bug 47747
java.lang.RuntimeException: Shared Formula Conversion: Coding Error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch resolves the problem.
patch.txt (text/plain), 1.17 KB, created by
Petr.Udalau
on 2009-08-31 03:59:21 UTC
(
hide
)
Description:
Patch resolves the problem.
Filename:
MIME Type:
Creator:
Petr.Udalau
Created:
2009-08-31 03:59:21 UTC
Size:
1.17 KB
patch
obsolete
>Index: java/org/apache/poi/hssf/record/SharedFormulaRecord.java >=================================================================== >--- java/org/apache/poi/hssf/record/SharedFormulaRecord.java (revision 809487) >+++ java/org/apache/poi/hssf/record/SharedFormulaRecord.java (working copy) >@@ -144,14 +144,18 @@ > > /** > * @return the equivalent {@link Ptg} array that the formula would have, were it not shared. >+ * >+ * Modified 6/17/09 by Udalov Pete - wrong checks. There is problem in evaluation of similar sheets >+ * in one workbook(One sheet expands another). >+ * > */ > public Ptg[] getFormulaTokens(FormulaRecord formula) { > int formulaRow = formula.getRow(); > int formulaColumn = formula.getColumn(); > //Sanity checks >- if (!isInRange(formulaRow, formulaColumn)) { >- throw new RuntimeException("Shared Formula Conversion: Coding Error"); >- } >+// if (!isInRange(formulaRow, formulaColumn)) { >+// throw new RuntimeException("Shared Formula Conversion: Coding Error"); >+// } > > return convertSharedFormulas(field_7_parsed_expr.getTokens(), formulaRow, formulaColumn); > }
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 47747
:
24176
| 24191