fdo#46037, about newerverwarn (uui module) and UpdateCheckJob
julien2412
serval2412 at yahoo.fr
Tue Jul 23 00:14:51 PDT 2013
Hello,
I'm trying to remove comphelper/configurationhelper.hxx as required for
fdo#46037 (see https://bugs.freedesktop.org/show_bug.cgi?id=46037) in
uui/source/newerverwarn.cxx
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.
108
109 uno::Any aVal =
::comphelper::ConfigurationHelper::readDirectKey(
110 xContext,
111 "org.openoffice.Office.Addons/",
112
"AddonUI/OfficeHelp/UpdateCheckJob",
113 "URL",
114
::comphelper::ConfigurationHelper::E_READONLY );
115 util::URL aURL;
116 if ( aVal >>= aURL.Complete )
So I tried to replace this by:
uno::Any aVal =
officecfg::Office::Addons::AddonUI::OfficeHelp::UpdateCheckJob::URL::get();
(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
./workdir/unxlngx6/CustomTarget/officecfg/registry/officecfg/Office/Addons.hxx
(just "make officecfg" ?)
Any idea?
Julien
--
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