Removing some redundancy
Change-Id: I473e1d09f783b5265f07ff4a7c340c7f52088ab8
This commit is contained in:
@@ -262,10 +262,10 @@ void BibliographyLoader::load(const Reference< XFrame > & rFrame, const rtl::OUS
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
using namespace org::freedesktop::PackageKit;
|
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);
|
Sequence< ::rtl::OUString > vPackages(1);
|
||||||
vPackages[0] = "libreoffice-base";
|
vPackages[0] = "libreoffice-base";
|
||||||
::rtl::OUString sInteraction("");
|
::rtl::OUString sInteraction;
|
||||||
xSyncDbusSessionHelper->InstallPackageNames(0, vPackages, sInteraction);
|
xSyncDbusSessionHelper->InstallPackageNames(0, vPackages, sInteraction);
|
||||||
// FIXME: notify user to restart here
|
// FIXME: notify user to restart here
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user