configuration provider doesn't implement setPropertyToDefault anymore
Lionel Elie Mamane
lionel at mamane.lu
Wed Oct 14 10:30:37 PDT 2015
According to
https://wiki.openoffice.org/wiki/Documentation/DevGuide/Config/Updating_Configuration_Data
and
odk/examples/DevelopersGuide/Config/ConfigExamples.java
(in method resetGridConfiguration)
our implementation of the
"com.sun.star.configuration.ConfigurationUpdateAccess" service is
supposed to implement the com.sun.star.beans.XPropertyState interface,
which provides the "setPropertyToDefault" method.
However, actually trying it yields a configmgr::Access (file
configmgr/source/access.hxx) which does *not* implement that
interface.
The configuration system seems to have been reimplemented in 2009,
maybe that's when this disappeared?
I also see in configmgr/qa/unit/test.cxx:
//TODO: support setPropertyToDefault
Maybe something to EasyHackify?
--
Lionel
More information about the LibreOffice
mailing list