summaryrefslogtreecommitdiff
path: root/desktop/source/migration/migration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/migration/migration.cxx')
-rw-r--r--desktop/source/migration/migration.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx
index 8424f0975400..57e93aba893f 100644
--- a/desktop/source/migration/migration.cxx
+++ b/desktop/source/migration/migration.cxx
@@ -93,8 +93,7 @@ static const char XDG_CONFIG_PART[] = "/.config";
uno::Reference< container::XNameAccess > xUICommands;
uno::Reference< container::XNameAccess > xNameAccess( ui::UICommandDescription::create(::comphelper::getProcessComponentContext()) );
- uno::Any a = xNameAccess->getByName( sModuleIdentifier );
- a >>= xUICommands;
+ xNameAccess->getByName( sModuleIdentifier ) >>= xUICommands;
if (xUICommands.is())
{
if ( !sCommand.isEmpty() )