summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-10 13:53:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-10 13:55:22 +0100
commit602a63785ae79ac31d53709a8ae95a6f3de6ef9a (patch)
tree4d688c2f5e77c08283585c4e1c65a0b03f2be800 /uui
parentd6ee755e35fbe9017aea9c5c908b3cbd4076e056 (diff)
bUpdateCheckEnabled had always been unused and marked TODO
...ever since its inception in c41efc6d0b2740be4243fd696385f8dbcec0aefe "CWS-TOOLING: integrate CWS dba301a_DEV300" Change-Id: I5da6a38f595146ef0d2894b33bf614e7663d53fa
Diffstat (limited to 'uui')
-rw-r--r--uui/source/newerverwarn.cxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/uui/source/newerverwarn.cxx b/uui/source/newerverwarn.cxx
index 5f96cdb2d94f..8e94699ac33e 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);