summaryrefslogtreecommitdiff
path: root/uui/source/newerverwarn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/newerverwarn.cxx')
-rw-r--r--uui/source/newerverwarn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/newerverwarn.cxx b/uui/source/newerverwarn.cxx
index a16478272d72..d7c8b966210e 100644
--- a/uui/source/newerverwarn.cxx
+++ b/uui/source/newerverwarn.cxx
@@ -118,7 +118,7 @@ IMPL_LINK_NOARG(NewerVersionWarningDialog, UpdateHdl)
// updates enabled", but this here is not an automatic update, but one triggered explicitly by the user.
uno::Any aVal = ::comphelper::ConfigurationHelper::readDirectKey(
- aContext.getLegacyServiceFactory(),
+ aContext.getUNOContext(),
DEFINE_CONST_UNICODE("org.openoffice.Office.Addons/"),
DEFINE_CONST_UNICODE("AddonUI/OfficeHelp/UpdateCheckJob"),
DEFINE_CONST_UNICODE("URL"),