fdo#46037, about newerverwarn (uui module) and UpdateCheckJob

julien2412 serval2412 at yahoo.fr
Tue Jul 23 00:14:51 PDT 2013


I'm trying to remove comphelper/configurationhelper.hxx as required for
fdo#46037 (see https://bugs.freedesktop.org/show_bug.cgi?id=46037) in
Here's the original code:
    106             // TODO: do we need to respect the bUpdateCheckEnabled
flag? Finally, its meaning is "are automatic
    107             // updates enabled", but this here is not an automatic
update, but one triggered explicitly by the user.
    109             uno::Any aVal =
    110                                     xContext,
    111                                     "org.openoffice.Office.Addons/",
    113                                     "URL",
::comphelper::ConfigurationHelper::E_READONLY );
    115             util::URL aURL;
    116             if ( aVal >>= aURL.Complete )

So I tried to replace this by:
uno::Any aVal =
(of course with:
1) #include <officecfg/Office/Addons.hxx>
2) $(eval $(call gb_Library_use_custom_headers,uui,\
     officecfg/registry \
    )) in uui/Library_uui.mk

but I got this:
error: ‘officecfg::Office::Addons::AddonUI::OfficeHelp::UpdateCheckJob’ has
not been declared

Indeed, there's nothing in
officecfg/registry/schema/org/openoffice/Office/Addons.xcs about this.
The problem is I don't know how to declare "UpdateCheckJob" in xcs and how
to regenerate
(just "make officecfg" ?)

Any idea?


View this message in context: http://nabble.documentfoundation.org/fdo-46037-about-newerverwarn-uui-module-and-UpdateCheckJob-tp4066765.html
Sent from the Dev mailing list archive at Nabble.com.

More information about the LibreOffice mailing list