Kaydet (Commit) ddfb875b authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1242768 Unused value

Change-Id: Ida66a4a4d00caa49e993938f86e357e4351a60c5
üst 8559539c
...@@ -752,7 +752,6 @@ void LayoutManager::implts_updateUIElementsVisibleState( bool bSetVisible ) ...@@ -752,7 +752,6 @@ void LayoutManager::implts_updateUIElementsVisibleState( bool bSetVisible )
MenuBarManager* pInplaceMenuBar( m_pInplaceMenuBar ); MenuBarManager* pInplaceMenuBar( m_pInplaceMenuBar );
aWriteLock.clear(); aWriteLock.clear();
bool bMustDoLayout(false);
if (( xMenuBar.is() || xInplaceMenuBar.is() ) && xContainerWindow.is() ) if (( xMenuBar.is() || xInplaceMenuBar.is() ) && xContainerWindow.is() )
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
...@@ -773,10 +772,10 @@ void LayoutManager::implts_updateUIElementsVisibleState( bool bSetVisible ) ...@@ -773,10 +772,10 @@ void LayoutManager::implts_updateUIElementsVisibleState( bool bSetVisible )
pSysWindow->SetMenuBar(pMenuBar, m_xFrame); pSysWindow->SetMenuBar(pMenuBar, m_xFrame);
else else
pSysWindow->SetMenuBar( 0 ); pSysWindow->SetMenuBar( 0 );
bMustDoLayout = true;
} }
} }
bool bMustDoLayout;
// Hide/show the statusbar according to bSetVisible // Hide/show the statusbar according to bSetVisible
if ( bSetVisible ) if ( bSetVisible )
bMustDoLayout = !implts_showStatusBar(); bMustDoLayout = !implts_showStatusBar();
......
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