Hi all, I try to use the SortableGridDataModel <https://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/grid/SortableGridDataModel.html> service with the help of my own XMutableGridDataModel <https://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/grid/XMutableGridDataModel.html> interface implementation (ie: the delegator).
After creating the service SortableGridDataModel <https://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/grid/SortableGridDataModel.html>, when initializing with the XMutableGridDataModel <https://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/grid/XMutableGridDataModel.html> delegator, an XGridDataListener <https://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/grid/XGridDataListener.html> listener tries to register to the delegator with the method addGridDataListener(). But it seems that this listener does not have the required interface XGridDataListener <https://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/grid/XGridDataListener.html> (ie: getTypes() does not return XGridDataListener <https://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/grid/XGridDataListener.html> ) If I look at the source code and more precisely the file libreoffice/toolkit/source/controls/grid/sortablegriddatamodel.cxx <https://github.com/LibreOffice/core/blob/master/toolkit/source/controls/grid/sortablegriddatamodel.cxx> it appears the attempt to add the listener line 318 <https://github.com/LibreOffice/core/blob/master/toolkit/source/controls/grid/sortablegriddatamodel.cxx#L318>, but it seems to me that the type XGridDataListener <https://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/grid/XGridDataListener.html> is excluded from the types to return line 271 <https://github.com/LibreOffice/core/blob/master/toolkit/source/controls/grid/sortablegriddatamodel.cxx#L271> . Is this normal? Thank for your help.
