Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Typo errors in IDL of getCurrentSortOrder | ||
---|---|---|---|
Product: | App Dev | Reporter: | bmarcelly <marcelly.bernard> |
Component: | api | Assignee: | AOO issues mailing list <issues> |
Status: | UNCONFIRMED --- | QA Contact: | |
Severity: | Normal | ||
Priority: | P3 | CC: | arielch, hanya.runo, issues, marcelly.bernard |
Version: | 3.3.0 or older (OOo) | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | 116191 | ||
Issue Blocks: |
Description
bmarcelly
2012-10-05 17:11:56 UTC
Definition of getCurrentSortOrder method in revision 1208211 is [1] ::com::sun::star::beans::Pair< long, boolean > getCurrentSortOrder(); But IDL reference on api.openoffice shows ::com::sun::star::beans::Pair< string, string > getCurrentSortOrder(); Note css.beans.Pair is not shown in the reference because of autodoc problem. Current implementation is match with generated definition in C++ header [3]. In my local copy of IDL reference for AOO 3.4.1, the return value is defined as Pair<any, any>. [1] http://svn.apache.org/viewvc/incubator/ooo/trunk/main/offapi/com/sun/star/awt/grid/XSortableGridData.idl?view=markup#l64 [2] http://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/grid/XSortableGridData.html#getCurrentSortOrder [3] http://svn.apache.org/viewvc/incubator/ooo/trunk/main/toolkit/source/controls/grid/sortablegriddatamodel.cxx?view=markup#l576 The autodoc problem for ::com::sun::star::beans::Pair is already described in Bug 116191. Further confusion for me came from the fact that ::com::sun::star::beans::Pair does not appear in the HTML view of the IDL, only ::com::sun::star::beans::StringPair appears. (In reply to comment #2) > Further confusion for me came from the fact that > ::com::sun::star::beans::Pair does not appear in the HTML view of the IDL This is Bug 98568 |