From dcf6abfcdf3f4b7aec5796c9f6c806889328135f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 13 Jun 2015 10:16:56 +0200 Subject: cppcheck:unreadVariable Change-Id: I03981ceba67280e8ed98a9add7f24b3bd958d522 --- framework/source/uifactory/menubarfactory.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/source/uifactory/menubarfactory.cxx b/framework/source/uifactory/menubarfactory.cxx index 55afe317e5b6..cb29ca66acb9 100644 --- a/framework/source/uifactory/menubarfactory.cxx +++ b/framework/source/uifactory/menubarfactory.cxx @@ -124,7 +124,7 @@ void MenuBarFactory::CreateUIElement(const OUString& ResourceURL Reference< XModuleUIConfigurationManagerSupplier > xModuleCfgSupplier = theModuleUIConfigurationManagerSupplier::get( _rxContext ); xCfgMgr = xModuleCfgSupplier->getUIConfigurationManager( aModuleIdentifier ); - bHasSettings = xCfgMgr->hasSettings( aResourceURL ); + xCfgMgr->hasSettings( aResourceURL ); } } } -- cgit