cppcheck scope reduction in framework/... menumanager.cxx
This commit is contained in:
parent
b94d6e85c5
commit
260c5f70b7
1 changed files with 1 additions and 1 deletions
|
@ -184,10 +184,10 @@ MenuManager::MenuManager(
|
|||
aItemCommand.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(aSlotSpecialToolsMenu)) ) &&
|
||||
AddonMenuManager::HasAddonMenuElements() )
|
||||
{
|
||||
sal_uInt16 nCount = 0;
|
||||
AddonMenu* pSubMenu = AddonMenuManager::CreateAddonMenu( rFrame );
|
||||
if ( pSubMenu && ( pSubMenu->GetItemCount() > 0 ))
|
||||
{
|
||||
sal_uInt16 nCount = 0;
|
||||
if ( pPopupMenu->GetItemType( nCount-1 ) != MENUITEM_SEPARATOR )
|
||||
pPopupMenu->InsertSeparator();
|
||||
|
||||
|
|
Loading…
Reference in a new issue