configuration provider doesn't implement setPropertyToDefault anymore
Stephan Bergmann
sbergman at redhat.com
Thu Oct 15 00:13:35 PDT 2015
On 10/14/2015 07:30 PM, Lionel Elie Mamane wrote:
> 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?
Yes, see <https://bugs.documentfoundation.org/show_bug.cgi?id=33697#c7>,
comment 7 of "Unable to choose proxy type 'system' [UI]," for details.
> Maybe something to EasyHackify?
Unfortunately it's harder than an easy hack. But I guess I'll indeed
eventually need to tackle that...
More information about the LibreOffice
mailing list