Missing DefaultTreeDataModel service

Noel Power nopower at suse.com
Fri Jul 12 01:35:02 PDT 2013

Indirectly the the new service migration changes 
cause https://bugs.freedesktop.org/show_bug.cgi?id=66586

(btw this was an absolute pig to debug, the exception was generated and
caught in a nest of listener callbacks, yes I HATE the toolkit code )

Now, the fcd01fba69db6de6cfc983fae65b6ba6764de0d6 is a reasonable change
except that the service doesn't exist ( and the old code was more
tolerant in that instance ) Now we could revert the change ( if the
service really doesn't or never did exist ) or tweak the change  ( do a
hacky catch around the create ) as a temporary measure if we thought the
service is something that might be resurrected. The problem is I have no
idea about this service ( and no idea about the tree control and it's
usage )


suggests that it should exist e.g.
// create the default tree model with the root nodeReference<XTreeModel
>xDefaultTreeModel(DefaultTreeModel::create2(xCC, xRootNode ), UNO_QUERY );

note the name, in the code that causes the problem previously
"com.sun.star.awt.tree.DefaultTreeDataModel" and now "

maybe this is just a documentation error ( someone getting confused with
the java DefaultTreeModel ) note: I don't see any sign of a

I wonder does anyone have an idea about this service, what's the
history, I think we need some more info before deciding on what to do


More information about the LibreOffice mailing list