Author: nick
Date: Thu Dec 13 05:17:49 2007
New Revision: 603916

URL: http://svn.apache.org/viewvc?rev=603916&view=rev
Log:
Add missing setCurrentRow calls to documentation

Modified:
    poi/trunk/src/documentation/content/xdocs/hssf/eval.xml

Modified: poi/trunk/src/documentation/content/xdocs/hssf/eval.xml
URL: 
http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/hssf/eval.xml?rev=603916&r1=603915&r2=603916&view=diff
==============================================================================
--- poi/trunk/src/documentation/content/xdocs/hssf/eval.xml (original)
+++ poi/trunk/src/documentation/content/xdocs/hssf/eval.xml Thu Dec 13 05:17:49 
2007
@@ -63,6 +63,8 @@
 CellReference cellReference = new CellReference("B3"); 
 HSSFRow row = sheet.getRow(cellReference.getRow());
 HSSFCell cell = row.getCell(cellReference.getCol()); 
+
+evaluator.setCurrentRow(row);
 HSSFFormulaEvaluator.CellValue cellValue = evaluator.evaluate(cell);
 
 switch (cellValue.getCellType()) {
@@ -106,7 +108,7 @@
 CellReference cellReference = new CellReference("B3"); 
 HSSFRow row = sheet.getRow(cellReference.getRow());
 HSSFCell cell = row.getCell(cellReference.getCol()); 
-
+evaluator.setCurrentRow(row);
 
 if (cell!=null) {
        switch (<strong>evaluator.evaluateInCell</strong>(cell).getCellType()) {



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to