To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=58574 Issue #:|58574 Summary:|Worksheet funtions fail with XCellRange params that |span entire column Component:|Spreadsheet Version:|OOO 2.0 Beta2 Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|spreadsheet Reported by:|npower
------- Additional comments from [EMAIL PROTECTED] Mon Nov 28 07:34:54 -0800 2005 ------- Parameter checking for table::XCellRange objects passed to worksheet functions ( using the "com.sun.star.sheet.FunctionAccess" service ) results in incorrect raising of RuntimeExceptions. An example for a XCellRange created from a cursor expanded to fill the entire column range illustrates this. ( see attached macro ) in sc/source/ui/unoobj/funcuno.cxx the dimension checking code for XCellRange params calculates the maximum row count in the range BUT it validates this value against the max possible row value ( instead of checking against the maximum number of rows ), also attaching patch that seems to fix this. A word of caution, for other types of paramaters similar checks are done, on the surface these checks seem to be valid but it would do no harm if someone who knows the code here gives those checks another look. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
