Indirectly the the new service migration changes
http://cgit.freedesktop.org/libreoffice/core/commit/?id=fcd01fba69db6de6cfc983fae65b6ba6764de0d6
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 )
http://wiki.openoffice.org/wiki/Treecontrol
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 "
DefaultTreeDataModel::create(xORB)"
maybe this is just a documentation error ( someone getting confused with
the java DefaultTreeModel ) note: I don't see any sign of a
DefaultTreeDataModel
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
Noel
Context
- Missing DefaultTreeDataModel service · Noel Power
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.