To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100615 Issue #|100615 Summary|Data pilot macro create wrong number of fields (OO 3.1 |) Component|Spreadsheet Version|1.0.0 Platform|Other URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|programming Assigned to|spreadsheet Reported by|wagafo
------- Additional comments from wag...@openoffice.org Fri Mar 27 14:48:31 +0000 2009 ------- I have a problem with the number of fields in a macro that creates a data pilot. I've tried this in an empty sheet both with OO 2.4 under Linux (Ubuntu 9.04) and OO 3.1 under Windows (XP), and the behavior is different. Here is the code: Sub Try oDataP = ThisComponent.getSheets().getByIndex(1).getDataPilotTables().createDataPilotDescriptor() oFields = oDataP.getDataPilotFields() End Sub With OO 2.4 in Linux Ubuntu 9.04 , oFields is an array with two elements, while with OO 3.1 on Windows XP oFields has just one element. Supposedly a data pilot is always created with two fields. --------------------------------------------------------------------- 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: issues-unsubscr...@sc.openoffice.org For additional commands, e-mail: issues-h...@sc.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org