summaryrefslogtreecommitdiff
path: root/desktop/source/migration/services
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/migration/services')
-rw-r--r--desktop/source/migration/services/oo3extensionmigration.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx
index 83426b1eec87..4448ac389da0 100644
--- a/desktop/source/migration/services/oo3extensionmigration.cxx
+++ b/desktop/source/migration/services/oo3extensionmigration.cxx
@@ -308,10 +308,9 @@ void OO3ExtensionMigration::migrateExtension( const ::rtl::OUString& sSourceDir
uno::Reference< ucb::XCommandEnvironment > xCmdEnv(
static_cast< cppu::OWeakObject* >( pCmdEnv ), uno::UNO_QUERY );
uno::Reference< task::XAbortChannel > xAbortChannel;
- uno::Reference< deployment::XPackage > xPackage =
- extMgr->addExtension(
- sSourceDir, uno::Sequence<beans::NamedValue>(),
- "user", xAbortChannel, xCmdEnv );
+ extMgr->addExtension(
+ sSourceDir, uno::Sequence<beans::NamedValue>(), "user",
+ xAbortChannel, xCmdEnv );
}
catch ( css::uno::Exception & e )
{