Kaydet (Commit) 687256fc authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror=shadow

Change-Id: Ibb4dea2bd4b13058895913fa37b7f0b4488cc417
üst 7a464263
......@@ -2145,7 +2145,6 @@ void Desktop::PreloadConfigurationData()
rtl::OUString( "com.sun.star.ui.WindowStateConfiguration" )), UNO_QUERY );
if ( xNameAccess.is() )
{
Any a;
Reference< XNameAccess > xWindowAccess;
try
{
......
......@@ -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() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment