Removing some redundancy

Change-Id: I473e1d09f783b5265f07ff4a7c340c7f52088ab8
This commit is contained in:
Stephan Bergmann 2012-11-25 00:52:19 +01:00
parent af30deff1c
commit 8b52b40b1d

View File

@ -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
}