[Libreoffice-commits] core.git: uui/source
Stephan Bergmann
sbergman at redhat.com
Mon Feb 10 04:56:48 PST 2014
uui/source/newerverwarn.cxx | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
New commits:
commit 602a63785ae79ac31d53709a8ae95a6f3de6ef9a
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Feb 10 13:53:59 2014 +0100
bUpdateCheckEnabled had always been unused and marked TODO
...ever since its inception in c41efc6d0b2740be4243fd696385f8dbcec0aefe
"CWS-TOOLING: integrate CWS dba301a_DEV300"
Change-Id: I5da6a38f595146ef0d2894b33bf614e7663d53fa
diff --git a/uui/source/newerverwarn.cxx b/uui/source/newerverwarn.cxx
index 5f96cdb..8e94699 100644
--- a/uui/source/newerverwarn.cxx
+++ b/uui/source/newerverwarn.cxx
@@ -28,11 +28,9 @@
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/system/SystemShellExecute.hpp>
#include <com/sun/star/system/SystemShellExecuteFlags.hpp>
-#include <com/sun/star/setup/UpdateCheckConfig.hpp>
#include <com/sun/star/util/URLTransformer.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
-#include <com/sun/star/container/XNameReplace.hpp>
#include <comphelper/processfactory.hxx>
#include <rtl/bootstrap.hxx>
@@ -104,13 +102,9 @@ IMPL_LINK_NOARG(NewerVersionWarningDialog, UpdateHdl)
}
else
{
- uno::Reference < container::XNameReplace > xUpdateConfig =
- setup::UpdateCheckConfig::create(xContext);
-
- sal_Bool bUpdateCheckEnabled = sal_False;
- OSL_VERIFY( xUpdateConfig->getByName("AutoCheckEnabled") >>= bUpdateCheckEnabled );
-
- // TODO: do we need to respect the bUpdateCheckEnabled flag? Finally, its meaning is "are automatic
+ // TODO: do we need to respect the
+ // /org.openoffice.Office.Jobs/Jobs/UpdateCheck/Arguments
+ // configuration flag? Finally, its meaning is "are automatic
// updates enabled", but this here is not an automatic update, but one triggered explicitly by the user.
css::uno::Reference< css::container::XHierarchicalNameAccess > xOfficeHelp(officecfg::Office::Addons::AddonUI::OfficeHelp::get(xContext), css::uno::UNO_QUERY_THROW);
More information about the Libreoffice-commits
mailing list