summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx1
-rw-r--r--desktop/source/deployment/gui/dp_gui_updatedialog.cxx1
-rw-r--r--desktop/source/deployment/manager/dp_extensionmanager.cxx3
-rw-r--r--desktop/source/migration/migration.cxx1
4 files changed, 1 insertions, 5 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 714299e9061b..4a86547a56d9 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -2021,7 +2021,6 @@ void Desktop::OpenClients()
// check if a document has been recovered - if there is one of if a document was loaded by cmdline, no default document
// should be created
- Reference < XComponent > xFirst;
bool bRecovery = false;
const CommandLineArgs& rArgs = GetCommandLineArgs();
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
index 9769a8b3b452..9f9760607725 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
@@ -335,7 +335,6 @@ void UpdateDialog::Thread::execute()
dp_misc::UPDATE_SOURCE sourceShared = dp_misc::isUpdateSharedExtension(
bSharedReadOnly, sVersionShared, sVersionBundled, sOnlineVersion);
- uno::Reference<deployment::XPackage> updateSource;
if (sourceUser != dp_misc::UPDATE_SOURCE_NONE)
{
if (sourceUser == dp_misc::UPDATE_SOURCE_SHARED)
diff --git a/desktop/source/deployment/manager/dp_extensionmanager.cxx b/desktop/source/deployment/manager/dp_extensionmanager.cxx
index e5d31af7c1a3..a53f7e3e5baa 100644
--- a/desktop/source/deployment/manager/dp_extensionmanager.cxx
+++ b/desktop/source/deployment/manager/dp_extensionmanager.cxx
@@ -762,8 +762,7 @@ Reference<css::deployment::XPackage> ExtensionManager::addExtension(
{
if (xExtensionBackup.is())
{
- Reference<css::deployment::XPackage> xRestored =
- xPackageManager->importExtension(
+ xPackageManager->importExtension(
xExtensionBackup, Reference<task::XAbortChannel>(),
Reference<ucb::XCommandEnvironment>());
}
diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx
index 7a1b917ab363..be141b68210c 100644
--- a/desktop/source/migration/migration.cxx
+++ b/desktop/source/migration/migration.cxx
@@ -398,7 +398,6 @@ migrations_vr MigrationImpl::readMigrationSteps(const OUString& rMigrationName)
uno::Reference< XNameAccess > theNameAccess(xMigrationData->getByName(aMigrationSteps), uno::UNO_QUERY_THROW);
uno::Sequence< OUString > seqMigrations = theNameAccess->getElementNames();
uno::Reference< XNameAccess > tmpAccess;
- uno::Reference< XNameAccess > tmpAccess2;
uno::Sequence< OUString > tmpSeq;
migrations_vr vrMigrations(new migrations_v);
for (sal_Int32 i = 0; i < seqMigrations.getLength(); i++) {