Removing some redundancy
Change-Id: I473e1d09f783b5265f07ff4a7c340c7f52088ab8
This commit is contained in:
parent
af30deff1c
commit
8b52b40b1d
@ -262,10 +262,10 @@ void BibliographyLoader::load(const Reference< XFrame > & rFrame, const rtl::OUS
|
||||
try
|
||||
{
|
||||
using namespace org::freedesktop::PackageKit;
|
||||
Reference< XSyncDbusSessionHelper > xSyncDbusSessionHelper(SyncDbusSessionHelper::create(comphelper::getProcessComponentContext()), UNO_QUERY);
|
||||
Reference< XSyncDbusSessionHelper > xSyncDbusSessionHelper(SyncDbusSessionHelper::create(comphelper::getProcessComponentContext()));
|
||||
Sequence< ::rtl::OUString > vPackages(1);
|
||||
vPackages[0] = "libreoffice-base";
|
||||
::rtl::OUString sInteraction("");
|
||||
::rtl::OUString sInteraction;
|
||||
xSyncDbusSessionHelper->InstallPackageNames(0, vPackages, sInteraction);
|
||||
// FIXME: notify user to restart here
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user