diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-01-09 12:07:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-01-11 14:29:22 +0100 |
commit | b71660540e326db3b15899a9db0aa3bf4aed2cee (patch) | |
tree | 384de799a0e4a17efb06286d40ace7618d237fb9 /sw/source/uibase/app | |
parent | 74b3924a98dfeeec719f7bc27a2e0a2e1a597167 (diff) |
[API CHANGE] migrate PackageKit usage to Modify2
xid dropped in favour of application_id
Change-Id: Id1eb43aa9c8dfb4eac82f99eff0f84c5320e0da0
Reviewed-on: https://gerrit.libreoffice.org/47661
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/app')
-rw-r--r-- | sw/source/uibase/app/apphdl.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sw/source/uibase/app/apphdl.cxx b/sw/source/uibase/app/apphdl.cxx index aafd754ca14a..d7d005c92778 100644 --- a/sw/source/uibase/app/apphdl.cxx +++ b/sw/source/uibase/app/apphdl.cxx @@ -421,14 +421,7 @@ void SwMailMergeWizardExecutor::ExecuteMailMergeWizard( const SfxItemSet * pArgs using namespace svtools; css::uno::Reference< XSyncDbusSessionHelper > xSyncDbusSessionHelper(SyncDbusSessionHelper::create(comphelper::getProcessComponentContext())); const css::uno::Sequence< OUString > vPackages{ "libreoffice-base" }; - - vcl::Window* pTopWindow = Application::GetActiveTopWindow(); - if (!pTopWindow) - pTopWindow = Application::GetFirstTopLevelWindow(); - const SystemEnvData* pEnvData = pTopWindow ? pTopWindow->GetSystemData() : nullptr; - sal_uInt32 nDbusId = pEnvData ? GetDbusId(*pEnvData) : 0; - - xSyncDbusSessionHelper->InstallPackageNames(nDbusId, vPackages, OUString()); + xSyncDbusSessionHelper->InstallPackageNames(vPackages, OUString()); SolarMutexGuard aGuard; executeRestartDialog(comphelper::getProcessComponentContext(), nullptr, RESTART_REASON_MAILMERGE_INSTALL); } |